Description
If you put an annotation block inside a complex type, it is silently ignored.
E.g.,
<xsd:element name="ORDCHG"> <xsd:complexType> <xsd:annotation> <xsd:appinfo source="http://www.ogf.org/dfdl/"> <dfdl:assert> {fn:contains(../UNH/S009,'ORDCHG')} </dfdl:assert> </xsd:appinfo> </xsd:annotation> <xsd:sequence> ....
That annotation belongs inside the element, not inside the complex type. But nothing warns you about that, or suggests anything is wrong. it's just ignored.
Attachments
Issue Links
- links to