Oxygen Web Validation Panel - Errors with XML Schema
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 4
- Joined: Mon Apr 28, 2025 7:11 pm
Oxygen Web Validation Panel - Errors with XML Schema
I deployed my first Oxygen framework to Oxygen Web and created/opened an XML file. The Validation panel reports the following errors.
These errors cite a problem with the actual XML Schema the XML file references. If I open the same XML file in Oxygen XML Editor, these errors are not reported in validation results. If I open the XML Schema and validate it directly, these errors are not reported in validation results.
Specifically, the "abcType" that the error messages cite is defined in the XML Schema as a complexType.
- A schema cannot contain two global components with the same name; this schema contains two occurrences of ',abcType'.
- Cannot resolve the name 'abcType_fn3dktizrknc9pi' to a(n) 'type definition' component.
These errors cite a problem with the actual XML Schema the XML file references. If I open the same XML file in Oxygen XML Editor, these errors are not reported in validation results. If I open the XML Schema and validate it directly, these errors are not reported in validation results.
Specifically, the "abcType" that the error messages cite is defined in the XML Schema as a complexType.
- This complexType is defined in global scope in one of the XSD files that is included by other XSD files.
- In the same XSD file, two elements are defined in global scope, each with different names but of type abcType. The Validation panel error messages are not citing the names of these elements.
- This complexType is redefined in the main XSD file (e.g., redefined and extended)
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: Oxygen Web Validation Panel - Errors with XML Schema
Post by Bogdan Dumitru »
Hello,
Oxygen XML Web Author uses pretty much the same validation engine as Oxygen XML Editor so you should encounter the same validation errors both on Oxygen XML Editor and Oxygen XML Web Author. I see that you opened the same document in both and only encounter the validation problems in Web Author but please check that the same framework is matched in both cases; maybe you have a slightly different framework uploaded in Web Author.
To ensure that the same framework is used you can use Oxygen XML Test Server Addon that starts Web Author from Oxygen XML Editor with the frameworks that the Oxygen XML Editor uses.
At least the first validation problem should appear also in Oxygen XML Editor but in Results view.
Another idea would be to search in the XSD files for "abcType" and check each that each occurrence is valid. And also check not to import a file multiple times (either importing from a XSD file or from Document Type/Validation).
Oxygen XML Web Author uses pretty much the same validation engine as Oxygen XML Editor so you should encounter the same validation errors both on Oxygen XML Editor and Oxygen XML Web Author. I see that you opened the same document in both and only encounter the validation problems in Web Author but please check that the same framework is matched in both cases; maybe you have a slightly different framework uploaded in Web Author.
To ensure that the same framework is used you can use Oxygen XML Test Server Addon that starts Web Author from Oxygen XML Editor with the frameworks that the Oxygen XML Editor uses.
At least the first validation problem should appear also in Oxygen XML Editor but in Results view.
Another idea would be to search in the XSD files for "abcType" and check each that each occurrence is valid. And also check not to import a file multiple times (either importing from a XSD file or from Document Type/Validation).
Bogdan Dumitru
http://www.oxygenxml.com
http://www.oxygenxml.com
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