DITA bookmap conversion problem
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 114
- Joined: Wed Mar 17, 2010 1:04 pm
DITA bookmap conversion problem
Hi,
I have problems to convert DITA bookmaps that contain a glossary list. I currently use oXygen 11.2 with DITA OT 1.5, but I had the same problem with the previous version. My markup looks like this:
During the transformation, I get an error message like the following one:
I checked the merged XML file and found the following on #unique_23:
The directory that contains my map has a glossary subdirectory with the referenced files and these files have also been copied to the temp directory (with the xml extension). So it should be possible to resolve the references. What's happening here? If this is an Open Toolkit problem, what is the best place to report it?
Susanne
I have problems to convert DITA bookmaps that contain a glossary list. I currently use oXygen 11.2 with DITA OT 1.5, but I had the same problem with the previous version. My markup looks like this:
Code: Select all
<booklists toc="yes">
<glossarylist format="dita" locktitle="yes" navtitle="Glossar" scope="local">
<topicref format="dita" [b]href="glossary/RetrieveAsync.dita" [/b]navtitle="Anfordern" scope="local" type="glossentry"> </topicref>
<topicref format="dita" href="glossary/Retrieve.dita" navtitle="Wiederherstellen" scope="local" type="glossentry"> </topicref>
</glossarylist>
</booklists>
Code: Select all
[java] [ERROR] Topic reference (href : #unique_23) not found !
[java] [ERROR] Reference may be incorrect. Please correct your ditamap or bookmap file.
[java] Processing terminated by xsl:message at line 110 in root-processing.xsl
Code: Select all
<topicref class="- map/topicref " format="dita" [b]ohref="glossary/RetrieveAsync.xml"[/b] href="#unique_23" id="unique_23" ...
Susanne
-
- Posts: 9472
- Joined: Fri Jul 09, 2004 5:18 pm
Re: DITA bookmap conversion problem
Hi Susanne,
The merged map xml file should contain an additional topic with the id "unique_23" containing the entire glossentry file contents.
This seems to be a bug in the DITA OT which manifests when the glossarylist contains a locktitle="yes" navtitle="Glossar" set on it. If you remove the navtitle/locktitle attributes the transformation should work.
You can add a new bug for the DITA Open Toolkit here:
http://sourceforge.net/tracker/?group_i ... tid=725074
You can also try as a workaround to edit the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\xsl\common\topicmerge.xsl file, search for the line:
<xsl:if test="contains($isNotTopicRef,'false')">
and remove the xsl:if tag but leave its contents in place.
But I do not know if this fix would produce side effects.
Regards,
Radu
The merged map xml file should contain an additional topic with the id "unique_23" containing the entire glossentry file contents.
This seems to be a bug in the DITA OT which manifests when the glossarylist contains a locktitle="yes" navtitle="Glossar" set on it. If you remove the navtitle/locktitle attributes the transformation should work.
You can add a new bug for the DITA Open Toolkit here:
http://sourceforge.net/tracker/?group_i ... tid=725074
You can also try as a workaround to edit the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\xsl\common\topicmerge.xsl file, search for the line:
<xsl:if test="contains($isNotTopicRef,'false')">
and remove the xsl:if tag but leave its contents in place.
But I do not know if this fix would produce side effects.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 114
- Joined: Wed Mar 17, 2010 1:04 pm
Re: DITA bookmap conversion problem
Hi Radu,
sorry for getting back to this so late - I had to work on something different. The problem is indeed caused by the navtitle attribute (with or without locktitle).
Will report a bug ...
Thanks for your help
Susanne
sorry for getting back to this so late - I had to work on something different. The problem is indeed caused by the navtitle attribute (with or without locktitle).
Will report a bug ...
Thanks for your help
Susanne
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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