W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2003

Re: schema validation problem

From: George Cristian Bina <george@sync.ro>
Date: Tue, 9 Dec 2003 09:18:17 +0200
Message-ID: <004401c3be24$a003ce90$1300000a@spelling>
To: "Carl Marcum" <carl-m@precisiongage-tool.com>, <xmlschema-dev@w3.org>

Hi Carl,

Your schema document is not well formed, see:

  <xs:choice maxOccurs="unbounded">
   <xs:element ref="Part" minOccurs="0" maxOccurs="unbounded"/>
   <xs:element ref="k1998" minOccurs="0" maxOccurs="unbounded"/>
   <xs:element ref="Characteristic" minOccurs="0" maxOccurs="unbounded"/>
   <xs:element ref="VariableCharacteristic" minOccurs="0" on>   <-----HERE

Here it is a tip about Xerces error messages. When you are validating a
schema or an XML document against a schema the error messages contain in
general a code like the one you quote:
> "derivation-ok-restriction.2.1.2"
If you use the text part "derivation-ok-restriction" and add it as an anchor
to the XML Schema Part1: Structures URL you will get the explanation of the
reported problem, for instance in your case you get the URL:
There look for the 2.1.2 clause.

Hope that helps,
George Cristian Bina mailto:george@oxygenxml.com
<oXygen/> XML Editor - http://www.oxygenxml.com/
Received on Tuesday, 9 December 2003 02:16:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:17 UTC