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 Kohsuke KAWAGUCHI <ko...@eng.sun.com> on 2001/08/02 05:40:08 UTC

Schema bug?

The following schema causes "internal Xerces error".

---------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'>
  <xs:element name="dummy"/>
  
  <xs:complexType name="rrr" />
  <xs:complexType name="sss">
    <xs:complexContent>
      <xs:restriction base="rrr">
        <xs:sequence>
          <xs:element name="dummy"/>
        </xs:sequence>
      </xs:restriction>
    </xs:complexContent>
  </xs:complexType>
</xs:schema>
---------------------------------------------

Here is the error message:

[Error] subst2.xml:3:67: Schema error: ComplexType ',sss': internal
Xerces error.



If my understanding is correct, the above schema should be a valid
schema.  ... Or it isn't?


regards,
--
Kohsuke KAWAGUCHI                          +1 650 786 0721
Sun Microsystems                   kohsuke.kawaguchi@sun.com


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