Hello DFDL community,
My input file consists of exactly 3 integers, each on a new line, followed by
an arbitrary number of strings, again, each on a new line, followed by a number
of integers, the number being determined by the first integer in the file. For
example:
6
1
2
Banana
Orange
Apple
Grape
100
200
300
400
500
600
Below is my DFDL schema. It generates this error:
[error] Parse Error: Failed to parse infix separator. Cause: Parse Error:
Separator '%NL;' not found.
Why is that error is being generated? How to fix the DFDL schema? /Roger
<xs:element name="input">
<xs:complexType>
<xs:sequence dfdl:separator="%NL;" dfdl:separatorPosition="infix">
<xs:element name="A" type="xs:integer"
minOccurs="3" maxOccurs="3"
dfdl:occursCountKind="fixed" />
<xs:element name="B" type="xs:string" maxOccurs="50"
dfdl:occursCountKind="implicit" />
<xs:element name="C" type="xs:integer" maxOccurs="unbounded"
dfdl:occursCountKind="expression"
dfdl:occursCount="{ ../A[1] }" />
</xs:sequence>
</xs:complexType>
</xs:element>