Treating "units" etc as keywords is a pretty dirty way to implement dADL (now ODIN) parsing! The property names in a C_DV_QUANTITY (or C_DV_ORDINAL) structure shouldn't be keywords, they are just property names, and should be collected and either compared to the RM or (what I do) converted straight to an object by the dADL (ODIN) deserialiser.
As per my recent post, all of this is now gone in ADL 1.5. IN any case, I would not expect any problem with picking up "units" in two different parsing contexts in the parser. - thomas On 23/08/2013 14:26, Bert Verhees wrote: > >> 2) >> >> The ADL-Parser is not capable of parsing EN13606 archetypes because >> of the keyword "units" which belongs to the EN13606 datatype PQ. > > I solved this problem by commenting out all occurrences of SYM_UNITS > > This is in line 2958, becomes: > (<SYM_C_QUANTITY_UNITS>/*|<SYM_UNITS>*/) <SYM_EQ> "<" > and line 341 becomes: /*| < SYM_UNITS: "units"> :DOMAIN_TYPE_C_QUANTITY*/ > > When done these changes, it parses the EN13606 PQ datatype, and I > don't see another error-situation coming up. > > What do you think?

