full-validation: XML Schema (from specs) is not valid
Having trouble installing Oxygen? Got a bug to report? Post it all here.
full-validation: XML Schema (from specs) is not valid
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
Dear Ondrej,
Xerces incorporates also changes added by XML Schema errata [1].
There is a published Schema for Schemas at w3c [2] that incorporates changes added by the errata and that is validated without problems by Xerces, hence by oXygen.
When schema full checking is enabled Xerces performs some time consuming checks on the schema that otherwise are not performed.
[1] http://www.w3.org/2001/05/xmlschema-errata
[2] http://www.w3.org/2001/XMLSchema.xsd
Hope that helps,
George
Xerces incorporates also changes added by XML Schema errata [1].
There is a published Schema for Schemas at w3c [2] that incorporates changes added by the errata and that is validated without problems by Xerces, hence by oXygen.
When schema full checking is enabled Xerces performs some time consuming checks on the schema that otherwise are not performed.
[1] http://www.w3.org/2001/05/xmlschema-errata
[2] http://www.w3.org/2001/XMLSchema.xsd
Hope that helps,
George
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service