W3C home > Mailing lists > Public > xmlschema-dev@w3.org > June 2002

Re: Recursion and validation

From: Bob Schloss <rschloss@us.ibm.com>
Date: Thu, 27 Jun 2002 11:36:10 -0400
To: "James Kavanagh" <jkavanagh@adeptra.com>, xmlschema-dev@w3.org
Message-ID: <OFC6D7AE52.B6347D1C-ON85256BE5.00557546@us.ibm.com>


You didn't send along the entire schema.  Is it possible that the
definition of patternsType uses the definition of integerType ?  There
doesn't appear to be anything broken within the fragment you sent.

I believe the most thorough tools to check your schemas, better than XMLSpy
and Xerces, are XSV and IBM XML Schema Quality Checker (http://www.
alphaworks.ibm.com/tech/xmlsqc).  What do they say?


"James Kavanagh" <jkavanagh@adeptra.com>@w3.org on 06/26/2002 11:22:48 AM

Sent by:    xmlschema-dev-request@w3.org

To:    <xmlschema-dev@w3.org>
Subject:    Recursion and validation


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

The actual section of the schema this message is reported as referring

<xs:complexType name="integerType">
    <xs:element name="default" type="xs:integer" minOccurs="0"/>
    <xs:choice minOccurs="0">
 <xs:element name="range" maxOccurs="unbounded">
  <xs:element name="min" type="xs:integer"/>
  <xs:element name="max" type="xs:integer"/>
      <xs:element name="enum">
  <xs:element name="item" type="xs:integer"
 <xs:element name="patterns" type="patternsType"/>

Can anyone help on this?
Received on Thursday, 27 June 2002 11:37:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:57 UTC