You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/08/05 16:41:33 UTC

DO NOT REPLY [Bug 11332] - Xerces Schema validation differs from Microsoft Schema Validation

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

Xerces Schema validation differs from Microsoft Schema Validation





------- Additional Comments From apache@flower.powernet.co.uk  2002-08-05 14:41 -------
This is a cut down version that has the same problem:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified">
  <xs:element name="Adapter">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ConnectionManagerClass" type="xs:string"/>
        <xs:group ref="grupo"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:group name="grupo">
    <xs:all>
      <xs:element name="Publisher" type="xs:string"/>
      <xs:element name="Subscriber" type="xs:string"/>
    </xs:all>
  </xs:group>
</xs:schema>

Xerces complains that the constraint at
http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#cos-all-limited is broken
and that the element that causes the breakage is <xs:group ref="grupo"/>.

Maybe a guru can explain exactly what is broken (I'd guess that neither 1.1 or
1.2 apply, but I can't quite get a grip on what 1.1 acually means)

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org