unable to get glossref working correctly
Oxygen general issues.
-
- Posts: 3
- Joined: Wed Apr 28, 2010 12:35 am
unable to get glossref working correctly
I'm using oXygen 12 and OT 1.5.3 and have not been able to get glossary keydefs to work as expected.
I have a ditamap such as the following:
<map title="DITA Topic Map">
<glossref keys="deliv" href="g_deliverable.xml"/>
<topicref href="content/c_creating_deliverables.xml"/>
</map>
This is my folder structure:
widget
[maps]
[glossentries]
..content
..images
..output
In the topic c_creating_deliverables.xml, I have the following text:
In the map(s) that comprise your <term keyref="deliv"/> , you...
When I click the key icon in oXygen that indicates a keyref, I get the following message: Specified file does not exist: file:/C:/widget/_content/Keyref@20deliv
Where in the world is this path coming from? It's not even a path in my folder structure; I don't have a _content folder.
As expected, the glossterm does not appear in the output. I have checked and rechecked my syntax and can't find anything wrong, at least based on my reading of the specs and understanding of how this works.
Thanks,
Leigh
I have a ditamap such as the following:
<map title="DITA Topic Map">
<glossref keys="deliv" href="g_deliverable.xml"/>
<topicref href="content/c_creating_deliverables.xml"/>
</map>
This is my folder structure:
widget
[maps]
[glossentries]
..content
..images
..output
In the topic c_creating_deliverables.xml, I have the following text:
In the map(s) that comprise your <term keyref="deliv"/> , you...
When I click the key icon in oXygen that indicates a keyref, I get the following message: Specified file does not exist: file:/C:/widget/_content/Keyref@20deliv
Where in the world is this path coming from? It's not even a path in my folder structure; I don't have a _content folder.
As expected, the glossterm does not appear in the output. I have checked and rechecked my syntax and can't find anything wrong, at least based on my reading of the specs and understanding of how this works.
Thanks,
Leigh
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: unable to get glossref working correctly
Hi Leigh,
Oxygen is just the XML editor, the publishing of DITA content to various output formats is done using the DITA Open Toolkit.
So it is very possible to see inconsistencies between how the editor shows and navigates in the DITA topics and the published output.
In order to find the target of a key reference correctly Oxygen needs to have the main DITA Map opened in the DITA Maps Manager. So if you do not have the DITA Map opened in the DITA Maps Manager this could be an explanation for the behavior.
The error message is indeed confusing, we've already fixed this in Oxygen 12.2 (which will be available in a couple of weeks) to state things more clearly like Could not resolve target for key reference [keyname].
I tried making a small DITA project based on your suggestions but publishing it to HTML seemed to properly link the topic and the glossentry file.
In the DITA Maps Manager view you also have a Validate and check for completeness toolbar button which you can use on the main DITA Map to spot linking problems.
If you still cannot find the problem you can try to make a small cut-down DITA project on which the issue can be reproduced and send it to our support email address (support at oxygenxml dot com) for analysis.
Regards,
Radu
Oxygen is just the XML editor, the publishing of DITA content to various output formats is done using the DITA Open Toolkit.
So it is very possible to see inconsistencies between how the editor shows and navigates in the DITA topics and the published output.
In order to find the target of a key reference correctly Oxygen needs to have the main DITA Map opened in the DITA Maps Manager. So if you do not have the DITA Map opened in the DITA Maps Manager this could be an explanation for the behavior.
The error message is indeed confusing, we've already fixed this in Oxygen 12.2 (which will be available in a couple of weeks) to state things more clearly like Could not resolve target for key reference [keyname].
I tried making a small DITA project based on your suggestions but publishing it to HTML seemed to properly link the topic and the glossentry file.
In the DITA Maps Manager view you also have a Validate and check for completeness toolbar button which you can use on the main DITA Map to spot linking problems.
If you still cannot find the problem you can try to make a small cut-down DITA project on which the issue can be reproduced and send it to our support email address (support at oxygenxml dot com) for analysis.
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)
- ↳ 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