Missing files when exporting a ditamap
Oxygen general issues.
-
- Posts: 3
- Joined: Tue Apr 15, 2014 9:57 am
Missing files when exporting a ditamap
Hi,
I have been trying to use the Export DITA map feature to export content for translation. However, I have a problem with missing files. It seems like keyrefed topics do not get included in the export.
I have used keyrefs to override some of the hrefs in the ditamap, and the keys are defined in a separate ditamap, something like this:
(NB: not the actual code)
In this case the topic referenced in the keydef.ditamap does not get exported.
Maybe this has something to do with how the keys are resolved? Any clues on how this can be solved, or is it a bug?
Thanks!
/Sam
I have been trying to use the Export DITA map feature to export content for translation. However, I have a problem with missing files. It seems like keyrefed topics do not get included in the export.
I have used keyrefs to override some of the hrefs in the ditamap, and the keys are defined in a separate ditamap, something like this:
(NB: not the actual code)
Code: Select all
<ditamap>
<mapref href="keydefs/keydef.ditamap" />
<topicref href="concepts/oldtopic.dita" keyref="newtopic" />
</ditamap>
Maybe this has something to do with how the keys are resolved? Any clues on how this can be solved, or is it a bug?
Thanks!
/Sam
-
- Posts: 63
- Joined: Fri Dec 12, 2003 6:34 pm
- Contact:
Re: Missing files when exporting a ditamap
Post by iulian_velea »
Hello Sam,
I tested your case and it is possible that may be a problem in the gather references from a DITA Map mechanism. From what I tried, I think that the export DITA Map operation produces the correct result, but the DITA Map Manager doesn't resolve correctly the topic referenced using the keydef from the referred map. I added an issue on our tracker and you will be notified of the result.
Thank you,
Iulian
--
Iulian Velea
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
I tested your case and it is possible that may be a problem in the gather references from a DITA Map mechanism. From what I tried, I think that the export DITA Map operation produces the correct result, but the DITA Map Manager doesn't resolve correctly the topic referenced using the keydef from the referred map. I added an issue on our tracker and you will be notified of the result.
Thank you,
Iulian
--
Iulian Velea
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 63
- Joined: Fri Dec 12, 2003 6:34 pm
- Contact:
Re: Missing files when exporting a ditamap
Post by iulian_velea »
Hello Sam,
In this case I think it would be better if you could send us a set of sample files on our technical support email address, [support@oxygenxml.com]. This way we can reproduce exactly your problem and take further action.
Regards,
Iulian
In this case I think it would be better if you could send us a set of sample files on our technical support email address, [support@oxygenxml.com]. This way we can reproduce exactly your problem and take further action.
Regards,
Iulian
-
- Posts: 3
- Joined: Tue Apr 15, 2014 9:57 am
Re: Missing files when exporting a ditamap
Thanks,
I'll do that; however, I've looked a bit more deeply into the issue, and my first description of the problem was not entirely correct. What actually happens is that the keyrefed file does get included in the export, but the original href that is overridden by the keyref does not. This might very well be the expected behavior. However, if the key is undefined I would expect that there would be a fall back to the href value? That is how the DITA Map Manager behaves, and also the DITA OT.
I currently rely on this behavior to sometimes replace certain topics with alternate versions, so I need the original href to be included if the key is undefined. But maybe I've been a little too creative...
/Sam
I'll do that; however, I've looked a bit more deeply into the issue, and my first description of the problem was not entirely correct. What actually happens is that the keyrefed file does get included in the export, but the original href that is overridden by the keyref does not. This might very well be the expected behavior. However, if the key is undefined I would expect that there would be a fall back to the href value? That is how the DITA Map Manager behaves, and also the DITA OT.
I currently rely on this behavior to sometimes replace certain topics with alternate versions, so I need the original href to be included if the key is undefined. But maybe I've been a little too creative...

/Sam
-
- Posts: 63
- Joined: Fri Dec 12, 2003 6:34 pm
- Contact:
Re: Missing files when exporting a ditamap
Post by iulian_velea »
Hello,
Thank you for the sample files and explaining exactly was is the case when the problem occurs. Following your description I reproduced the behavior and updated the issue related to it.
We will notify you when a conclusion is reached.
Best regards,
Iulian
Thank you for the sample files and explaining exactly was is the case when the problem occurs. Following your description I reproduced the behavior and updated the issue related to it.
We will notify you when a conclusion is reached.
Best regards,
Iulian
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