full-validation: XML Schema (from specs) is not valid
Posted: Thu Jul 22, 2004 6:49 pm
Hello I have a question aimed to the following errors I get when triyng to validate XMLSchema.xsd found at http://www.xml.com/2002/10/02/examples/ ... ma.xsd.txt
(and linked from
http://www.xml.com/pub/a/2002/10/02/met ... tml?page=1). Let me note that the XMLSchema.xsd is de facto copy of Appendix A of XML Schema specs (http://www.w3.org/TR/xmlschema-1/#norma ... hemaSchema).
SystemID: D:\AtETH\FMT\MetaXsdExperiments\XMLSchema.xsd
Location: 695:29
Description: E rcase-Recurse.2: There is not a complete functional mapping between the particles.
URL: http://www.w3.org/TR/xmlschema-1/#rcase-Recurse
... and ...
SystemID: D:\AtETH\FMT\MetaXsdExperiments\XMLSchema.xsd
Location: 695:29
Description: E derivation-ok-restriction.5.4.2: Error for type 'all'. The particle of the type is not a valid restriction of the particle of the base.
URL: http://www.w3.org/TR/xmlschema-1/#deriv ... estriction
I have read http://www.w3.org/TR/xmlschema-1/#deriv ... estriction but as far as I understand it I do not see any violation of this constraint by the XMLSchema.xsd.
I googled out link to forum http://www.oxygenxml.com/forum/viewtopic.php?p=1322 where george refers to page http://www.oxygenxml.com/doc/ug-oxygen/ ... arser.html where he proposes to turn the schema-full-checking off. This works - then I have no more the validation errors. However this haven't satisfy me since I do not understand what on here.
I have two questions:
1) What is the schema-full-checking feature of Xerces parser (well, i know that this is maybe more a Xerces-realted question)
2) How it is possible that the XML Schema metamodel (the XML Schema definition for XML Schema: Structures) itself is not valid?
Thanks for all advices and comments in advance
Ondrej
(and linked from
http://www.xml.com/pub/a/2002/10/02/met ... tml?page=1). Let me note that the XMLSchema.xsd is de facto copy of Appendix A of XML Schema specs (http://www.w3.org/TR/xmlschema-1/#norma ... hemaSchema).
SystemID: D:\AtETH\FMT\MetaXsdExperiments\XMLSchema.xsd
Location: 695:29
Description: E rcase-Recurse.2: There is not a complete functional mapping between the particles.
URL: http://www.w3.org/TR/xmlschema-1/#rcase-Recurse
... and ...
SystemID: D:\AtETH\FMT\MetaXsdExperiments\XMLSchema.xsd
Location: 695:29
Description: E derivation-ok-restriction.5.4.2: Error for type 'all'. The particle of the type is not a valid restriction of the particle of the base.
URL: http://www.w3.org/TR/xmlschema-1/#deriv ... estriction
I have read http://www.w3.org/TR/xmlschema-1/#deriv ... estriction but as far as I understand it I do not see any violation of this constraint by the XMLSchema.xsd.
I googled out link to forum http://www.oxygenxml.com/forum/viewtopic.php?p=1322 where george refers to page http://www.oxygenxml.com/doc/ug-oxygen/ ... arser.html where he proposes to turn the schema-full-checking off. This works - then I have no more the validation errors. However this haven't satisfy me since I do not understand what on here.
I have two questions:
1) What is the schema-full-checking feature of Xerces parser (well, i know that this is maybe more a Xerces-realted question)
2) How it is possible that the XML Schema metamodel (the XML Schema definition for XML Schema: Structures) itself is not valid?
Thanks for all advices and comments in advance
Ondrej