Problem with using DADL-parser?

I have a simple DADL file, I copy it here

It looks like it has to do with the: (List<ITEM>), when I remove it,
this error disappears.
I took this syntax from an example, page 23, chapter 4.1, in this file:
http://www.openehr.org/releases/1.0.1/architecture/am/adl.pdf

In there is following text, is this wrong? Or is it an error in the
DADL-parser?

Thanks, Bert

4 dADL - Data ADL
4.1 Overview
The dADL syntax provides a formal means of expressing instance data
based on an underlying information model, which is readable both by
humans and machines. The general appearance is exemplified by the
following:
      person = (List<PERSON>) <
            [01234] = <
                name = <
                   forenames = <"Sherlock">
                   family_name = <"Holmes">
                   salutation = <"Mr">
                >
                address = <
                   habitation_number = <"221B">
                   street_name = <“Baker St”>
                   city = <“London”>
                   country = <“England”>
                >
            >
            [01235] = <
                -- etc

Hi Bert,

It seems the combination of typed object block and the keyed
attributes together triggered this error. I have now fixed it in the
parser (by adjusting the lookahead depth) and included your testcase
there. Thanks for the report!

Regards,
Rong

Thank you for quick fixing

:wink:

Bert