<!-- parent with specified length -->
<xs:element name="myStringSeq2" dfdl:lengthKind="explicit" dfdl:length="5">
<xs:complexType>
<xs:sequence dfdl:initiatedContent="no" dfdl:separatorPosition="infix"
dfdl:sequenceKind="ordered" dfdl:separator="" >
<xs:element name="Test1" type="xs:string">
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
The only way for this to parse is for the inner element Test1 to be delimited
by the end-of-data coming from the explicit surrounding box created by
the myStringSeq2.
I thought this should be a SDE because no delimiter is defined anywhere.
I see that it can work, if we adopt a policy that delimited, but with no
delimiters, means delimited by end-of-available-data.
But, I thought that is what lengthKind="endOfData" is for.
Can anyone comment as to why the lengthKind="delimited" but with
no delimiter strings defined should NOT be an SDE?
--
dfdl-wg mailing list
dfdl-wg@ogf.org
https://www.ogf.org/mailman/listinfo/dfdl-wg
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU