- From: James Kavanagh <jkavanagh@adeptra.com>
- Date: Wed, 26 Jun 2002 11:22:48 -0400 (EDT)
- To: <xmlschema-dev@w3.org>
Hi,
I'm using XML spy as an authoring tool for my XML schema and when I
create the schema and validate it therein there are no problems.
However, when I attempt to validate against that schema using the Xerces
1.4.4 parser I get the following error:
Schema error: Anonymous complexType: ct-props-correct.3: Recursive type
definition.
The actual section of the schema this message is reported as referring
to:
<xs:complexType name="integerType">
<xs:sequence>
<xs:element name="default" type="xs:integer" minOccurs="0"/>
<xs:choice minOccurs="0">
<xs:element name="range" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="min" type="xs:integer"/>
<xs:element name="max" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="enum">
<xs:complexType>
<xs:sequence>
<xs:element name="item" type="xs:integer"
maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="patterns" type="patternsType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
Can anyone help on this?
Received on Wednesday, 26 June 2002 17:46:44 UTC