Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4.0
-
None
-
None
Description
This schema fragment does not cause an SDE as required by the DFDL spec:
<xs:element name="input"> <xs:complexType> <xs:sequence dfdl:initiatedContent="yes"> <xs:element name="A" type="xs:string" dfdl:initiator="%ES;" /> </xs:sequence> </xs:complexType> </xs:element>
Note that the DFDL spec says that when initiatedContent is yes, the initiator may not be empty string, but this is ambiguous. Clearly dfdl:initiator="" is not allowed, but a check for dfdl:initiator="%ES;" should also be rejected.
Actually, dfdl:initiator="%WSP*;" should also be rejected in this case.
dfdl:initiator="%ES;" should uniformly, always be rejected, because it is meaningless in all cases.