[BUG] XML Schema Validation (Xerces) error but there isn't one
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 19
- Joined: Mon Sep 13, 2021 10:41 am
[BUG] XML Schema Validation (Xerces) error but there isn't one
Hello,
I recently upgraded to XML Editor 25.0, build 2022121306 from Windows to Ubuntu and now I get a validation error from the start which is gone after manual validation and reappears just as I start editing the document.
The document itself is located in an eXist-db and is opened via the data source window using the xmlrpc interface.
Let me know if I can share more informations and thank you all!
I recently upgraded to XML Editor 25.0, build 2022121306 from Windows to Ubuntu and now I get a validation error from the start which is gone after manual validation and reappears just as I start editing the document.
I do have a custom XSD schema here the definition for the ID attribute:There are multiple occurrences of ID value 'bd70c34c5-4c27-4cb8-bf27-80121a8bb89'
Code: Select all
<xs:attribute name="id" type="xs:ID" use="required"/>
Let me know if I can share more informations and thank you all!
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: [BUG] XML Schema Validation (Xerces) error but there isn't one
Hello,
Thanks for your feedback.
There is already a similar issue on our issue tracker. It seems to be a problem when the schema is associated in the file and Default XML Schema version is set to 1.1. Is your XML Schema version 1.1 and is associated in the file?
As an workaround, if your schema is not using XML Schema version 1.1 constructs, you can change the default XML schema version to 1.0. For this you can open the Preferences dialog box (Options > Preferences) and go to XML > XML Parser > XML Schema. If your schema is using XML Schema version 1.1 constructs, you can change the default validation engine to Saxon EE (from the same option page).
Best Regards,
Octavian
Thanks for your feedback.
There is already a similar issue on our issue tracker. It seems to be a problem when the schema is associated in the file and Default XML Schema version is set to 1.1. Is your XML Schema version 1.1 and is associated in the file?
As an workaround, if your schema is not using XML Schema version 1.1 constructs, you can change the default XML schema version to 1.0. For this you can open the Preferences dialog box (Options > Preferences) and go to XML > XML Parser > XML Schema. If your schema is using XML Schema version 1.1 constructs, you can change the default validation engine to Saxon EE (from the same option page).
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 19
- Joined: Mon Sep 13, 2021 10:41 am
Re: [BUG] XML Schema Validation (Xerces) error but there isn't one
Hello Octavian,
thank you very much for the quick reply. Yes, the XSD schema used is set in version 1.1. Because of the use of assertions.
As a workaround or temporary fix I have enabled 'Enable honour all schema location feature' and the error no longer occurs. But it may be that some errors are not displayed because of this, therefore only temporary.
After I have tested more extensively I will give feedback.
Thank you very much.
thank you very much for the quick reply. Yes, the XSD schema used is set in version 1.1. Because of the use of assertions.
As a workaround or temporary fix I have enabled 'Enable honour all schema location feature' and the error no longer occurs. But it may be that some errors are not displayed because of this, therefore only temporary.
After I have tested more extensively I will give feedback.
Thank you very much.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: [BUG] XML Schema Validation (Xerces) error but there isn't one
Hi,
To update this thread, our latest Oxygen 25.0 minor bug fix release should have a fix for this problem:
https://www.oxygenxml.com/build_history.html#2023013006
Regards,
Radu
To update this thread, our latest Oxygen 25.0 minor bug fix release should have a fix for this problem:
https://www.oxygenxml.com/build_history.html#2023013006
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
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