DITA-OT project file validation error
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 13
- Joined: Mon Dec 14, 2020 11:20 am
DITA-OT project file validation error
Hi,
I always get this validation error when using the include parameter in a DITA-OT project file:
I'm using <oXygen/> XML Author 23.1, build 2021082307 on macOS Monterey 12.1.
I always get this validation error when using the include parameter in a DITA-OT project file:
image.png
The referenced documents do exist, and the project file can be transformed successfully. Maybe it's a bug?I'm using <oXygen/> XML Author 23.1, build 2021082307 on macOS Monterey 12.1.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA-OT project file validation error
Hi,
This indeed looks like a bug. And the publishing works, right?
I'm working on Monterey with Oxygen 24, using two sample files like:
and p2.xml:
but I cannot reproduce the problem and I do not remember fixing anything related to this between 23 and 24.
Can you also test with my very small samples? Or if the problem can be reproduced only with your samples can you maybe email us (support@oxygenxml.com) a zip containing some samples to reproduce the problem?
Regards,
Radu
This indeed looks like a bug. And the publishing works, right?
I'm working on Monterey with Oxygen 24, using two sample files like:
Code: Select all
project xmlns="https://www.dita-ot.org/project">
<include href="p2.xml"/>
</project>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://www.dita-ot.org/project">
</project>
Can you also test with my very small samples? Or if the problem can be reproduced only with your samples can you maybe email us (support@oxygenxml.com) a zip containing some samples to reproduce the problem?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 13
- Joined: Mon Dec 14, 2020 11:20 am
Re: DITA-OT project file validation error
Hi,
Yes, the publishing works. I tried your sample files, the error is the same.
Yes, the publishing works. I tried your sample files, the error is the same.
image.png
I also asked my colleague who is working on Windows 10 to test the sample files, and she got the same error.You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA-OT project file validation error
Hi,
I tested with version 23 and I can also reproduce the problem but with version 24 the fake validation error is no longer reported.
After this I also found the internal issue on which we fixed this problem for version 24.
So if you cannot upgrade to Oxygen v 24 you can either ignore the reported error or I can give you some steps to change the Schematron schema we use for validating the project file so that you can fix the problem in your installation folder.
Regards,
Radu
I tested with version 23 and I can also reproduce the problem but with version 24 the fake validation error is no longer reported.
After this I also found the internal issue on which we fixed this problem for version 24.
So if you cannot upgrade to Oxygen v 24 you can either ignore the reported error or I can give you some steps to change the Schematron schema we use for validating the project file so that you can fix the problem in your installation folder.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA-OT project file validation error
Hi,
If you open this Schematron file Oxygen uses for DITA OT project validation:
it has a line like this:
which should be replaced with:
Regards,
Radu
If you open this Schematron file Oxygen uses for DITA OT project validation:
Code: Select all
OXYGEN_INSTALL_DIR/frameworks/dita/dita_project/sch/project.sch
Code: Select all
<sch:report test="not(doc-available(@href))">The referenced document does not exist.</sch:report>
Code: Select all
<sch:report test="not(doc-available(resolve-uri(@href, base-uri())))">The referenced document does not exist or is not well-formed.</sch:report>
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