Cannot validate personal.xml against its personal.xsd
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Wed Jun 23, 2004 4:40 pm
Cannot validate personal.xml against its personal.xsd
When i try to validate personal.xml against personal.dtd, i get the error 'cvc-elt.1: Cannot find the declaration of element 'personnel'. This happens with any xml file i tried so far that has a dtd associated.
Surprisingly, validating personal-schema.xml works.
Environment:
Linux gentoo 2.4.25
Eclipse 3.0m8
oxygen 4.1
oxygen proxy enabled
no other than the two default xml catalogs
Verbosity set to debug (cannot see any output though)
Surprisingly, validating personal-schema.xml works.
Environment:
Linux gentoo 2.4.25
Eclipse 3.0m8
oxygen 4.1
oxygen proxy enabled
no other than the two default xml catalogs
Verbosity set to debug (cannot see any output though)
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
The problem is that you have set the option "Ignore the DTD for validation if a schema is specified" [1] to true. If you disable that feature oXygen will validate against the specified DTD. This feature is useful for handling cases when both XML Schema validation and support for entities is needed. I agree that the name of this option is a little misleading, it should better read: Always use XML Schema for validation.
[1] http://www.oxygenxml.com/doc/ug-oxygen/ ... arser.html
Best Regards,
George
The problem is that you have set the option "Ignore the DTD for validation if a schema is specified" [1] to true. If you disable that feature oXygen will validate against the specified DTD. This feature is useful for handling cases when both XML Schema validation and support for entities is needed. I agree that the name of this option is a little misleading, it should better read: Always use XML Schema for validation.
[1] http://www.oxygenxml.com/doc/ug-oxygen/ ... arser.html
Best Regards,
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