<br><font size=2 face="sans-serif">The specification is not entirely clear
on a the following points</font>
<br><font size=2 face="sans-serif">a) If the input document contains too
many occurrences of an element, should that be treated as a validation
error, or a processing error?</font>
<br><font size=2 face="sans-serif">Section 5.2.1 says &quot;</font><font size=2 face="Arial">It
is a parse error when an array is found to have a number of occurrences
not conforming to the minOccurs and maxOccurs constraints in the absence
of a default value specification.</font>
<br><font size=2 face="Arial">Note that specifically, this is not a validation
error, it is a processing error</font><font size=2 face="sans-serif">&quot;</font>
<br><font size=2 face="sans-serif">Points to note:</font>
<br><font size=2 face="sans-serif">- When unparsing, the infoset might
omit an element which has minOccurs &gt; 0. Should that be reported as
a validation error, or a processing error?</font>
<br><font size=2 face="sans-serif">- When unparsing, the infoset might
omit an entire group. If all of the elements in the omitted group were
optional, should this be considered an error ( because groups are implicitly
required ) or not?</font>
<br><font size=2 face="sans-serif">- When parsing an unordered group, if
the input document contains more than &nbsp;maxOccurs occurrences of one
of the members, is that a processing error or a validation error? The specification
seems to imply that it is a validation error, but that seems inconsistent
with section 5.2.1</font>
<br>
<br><font size=2 face="sans-serif">It may be necessary to include a section
which specifies how the DFDL processor should perform schema validation.</font>
<br>
<br><font size=2 face="sans-serif">regards,<br>
<br>
Tim Kimber, Common Transformation Team,<br>
Hursley, UK<br>
Internet: &nbsp;kimbert@uk.ibm.com<br>
Tel. 01962-816742 &nbsp;<br>
Internal tel. 246742<br>
<br>
</font>
<br><font size=2 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
<br>
</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>