How to use C_DURATION pattern constraint

Hi all,
maybe this is a silly question, but I didn’t find a point in the specs where this is clearly explained:
The following notation on ADL:

ELEMENT[at0009] occurrences matches {0..1} matches { – Pattern

value matches {
DV_DURATION matches {
value matches {PYM}
}
}
}

constraints the data to have a DV_DURATION element with both year and month specified (both part are mandatory) or with year and/or month specified (both part are optional)!?

Thanks
leo

Leonardo,

where does this constrain come from? It says that the duration has to have a Year and/or a Month. I.e. P5Y, P2M, P5Y2M are all allowed according to this constraint. See pg 70 of the current ADL 1.5 specification.

  • thomas