DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9795>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9795

Bugs in the W3C XML Schema processor when validating against the SchemaForSchemas

           Summary: Bugs in the W3C XML Schema processor when validating
                    against the SchemaForSchemas
           Product: Xerces2-J
           Version: 2.0.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XML Schema Structures
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi,

Henry Thompson just posted a new version of the SchemaForSchemas document 
(http://www.w3.org/2001/XMLSchema.xsd). I ran this through Xerces 2.0.1 and I
got the following four errors:

[1] (1 of 43) Schema problem: Unknown base type 'xs:anySimpleType'
for a type 'string' (For simpleType name="string")

Henry's comment to this bug was: "That's just bogus, it's required to be present
by the REC."

[2] (2 of 43) Schema problem: Facet 'whiteSpace' is not allowed by
this type. (For simpleType name="string")
 
Both [1] and [2] occur for all the simpleTypes that derive from xs:anySimpleType
 
[3] For the complexType "attributeGroupRef" the following errors are
reported:

(40 of 43) Schema problem: Group's occurrence range is not a valid
restriction of base group's occurrence range.  (41 of 43) Schema
problem: Error for type 'attributeGroupRef'.  The particle of the
type is not a valid restriction of the particle of the base.
 
[4] For the complexType "groupRef" the following errors are
reported:
 
(42 of 43) Schema problem: Group's occurrence range is not a valid
restriction of base group's occurrence range.  (43 of 43) Schema
problem: Error for type 'groupRef'.  The particle of the type is not
a valid restriction of the particle of the base.

The only one that isn't a bug is [3] which apparently have just been resolved in
the XML Schema WG. The WG have decided to treet the sFs as a special case where
it's allowed to place facets on xs:anySimpleType so this should be fixed in
Xerces as well.

For more information on this see the follwing emails:

http://lists.xml.org/archives/xml-dev/200206/msg00399.html
http://lists.xml.org/archives/xml-dev/200206/msg00446.html

Cheers,
/Eddie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to