castor

minOccurs attribute is allowed for top level elements.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.5
  • Fix Version/s: 1.1.1
  • Component/s: XML
  • Labels:
    None
  • Number of attachments :
    3

Description

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

  1. patch.c1909.20070318.txt
    18/Mar/07 12:52 PM
    4 kB
    Werner Guttmann
  2. patch.c1909.20070318-002.txt
    18/Mar/07 1:58 PM
    7 kB
    Werner Guttmann
  3. test.xsd
    15/Mar/07 9:04 AM
    0.3 kB
    Stoil Valchkov

Activity

Hide
Werner Guttmann added a comment -

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 ... .,

Show
Werner Guttmann added a comment - 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 ... .,
Hide
Werner Guttmann added a comment -

Final patch for review.

Show
Werner Guttmann added a comment - Final patch for review.
Hide
Werner Guttmann added a comment -

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 ....

Show
Werner Guttmann added a comment - 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 ....

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
Not Specified
Original Estimate - Not Specified
Remaining:
0m
Remaining Estimate - 0 minutes
Logged:
45m
Time Spent - 45 minutes