Attached file passed to http://www.w3.org/2001/03/webdata/xsv results in:
file:///usr/local/XSV/xsvlog/tmpbPYn1Guploaded:3:2: Invalid: top-level
element may not have minOccurs
Patch for review. It looks like, though, that there's plenty of incorrect XML schemas in the test suite that have minOccurs attribute for global elements ... .,
Final patch for review.
Just as a side node: what surprises me, though, is the fact that the code generator does not use the SchemaReader internally to parse a set of XML schema files. Personally, I think it should ....