Error resolving conref
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Wed Dec 19, 2018 2:21 pm
Error resolving conref
Hello,
I have a custom framework extended from the DITA framework. In this custom framework's catalog I have the following entries:
I am trying to make all references in this project relative to the project root. The above mechanism works just fine for images (href), but for conref elements Author mode displays an error:
Also when I try to run the DITA Map to CHM transformation for this project, I get:
Should the rewritePrefix method work for conref elements at all? Or am I just doing something wrong here?
I have a custom framework extended from the DITA framework. In this custom framework's catalog I have the following entries:
Code: Select all
<rewriteURI uriStartString="vx:docum/" rewritePrefix="../../"/>
<rewriteSystem systemIdStartString="vx:docum/" rewritePrefix="../../"/>
Code: Select all
Error while parsing external reference.
Code: Select all
Transformation failed. <path>\DITA-OT2.x\plugins\org.dita.base\build_preprocess.xml:55: Failed to run pipeline: null
-
- Posts: 9437
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Error resolving conref
Hi,
I can reproduce the problem when it comes to resolving conrefs in the Author visual editing mode. And we can fix this on our side, Oxygen 21 will be available in February 2019 and we'll try to incorporate a fix for it.
The publishing part is another story, the DITA Open Toolkit publishing engine by default has no support for looking in XML catalogs when resolving conrefs, if you edit the transformation scenario in the Parameters list there is an Oxygen-specific "fix.external.references" parameter which you can set to "true". We have some custom code which will also try to resolve through XML catalogs such references and this may make the publishing work.
Honestly in such cases maybe you could use content key references because you already seem to need some indirection so why not use keys instead?
Regards,
Radu
I can reproduce the problem when it comes to resolving conrefs in the Author visual editing mode. And we can fix this on our side, Oxygen 21 will be available in February 2019 and we'll try to incorporate a fix for it.
The publishing part is another story, the DITA Open Toolkit publishing engine by default has no support for looking in XML catalogs when resolving conrefs, if you edit the transformation scenario in the Parameters list there is an Oxygen-specific "fix.external.references" parameter which you can set to "true". We have some custom code which will also try to resolve through XML catalogs such references and this may make the publishing work.
Honestly in such cases maybe you could use content key references because you already seem to need some indirection so why not use keys instead?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 417
- Joined: Mon May 09, 2016 9:37 am
Re: Error resolving conref
Post by sorin_carbunaru »
Hello,
Just wanted to update this thread to let you know that the conref resolving issue has been fixed in oXygen 21, which was released a few days ago.
All the best wishes,
Sorin Carbunaru
oXygen XML
Just wanted to update this thread to let you know that the conref resolving issue has been fixed in oXygen 21, which was released a few days ago.
All the best wishes,
Sorin Carbunaru
oXygen XML
Return to “DITA (Editing and Publishing DITA Content)”
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