Cannot find temporary file
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 28
- Joined: Thu Mar 12, 2009 4:16 am
Cannot find temporary file
Post by Rumplestiltzkin »
I'm trying to build a PDF from DITA sources. The DITA Bookmap is on my local file system, but the topics are stored in an eXist database. I'm using eXist's ReST interface to access the data, but am being a little bit tricky (
) in that the source data in eXist is not actually DITA, but I have an XSL transformation that converts the source data to DITA on the fly and that is passed as a GET parameter to eXist. eXist is definitely serving up the correct data, but I get this error when I try to generate the PDF:
No matter what I try - I've used all sorts of combinations of the chunk and copy-to attributes to remedy it - nothing works. Maybe, I'm just being too demanding in attempting to use dynamic DITA instead of static? Anyway, here's the DITA map file:
Is there anything I can do to make this work, or do I have to give up my dream?
Sr

(If I don't use the copy-to attribute, I get this:[DOTX008E] File 'C:\work\tmp\temp\pdf\oxygen_dita_temp\NEHTA-15517-Adverse_Reaction-Data_Group.dita' does not exist or cannot be loaded.
which is seriously weird!)[DOTX008E] File 'C:\work\tmp\temp\pdf\oxygen_dita_temp\NEHTA-15517-Adverse_Reaction-Data_Group.xml?_xsl=/db/nehta/ndsm/dev/resources/stylesheets/nehta-detail2dita.xsl' does not exist or cannot be loaded.
No matter what I try - I've used all sorts of combinations of the chunk and copy-to attributes to remedy it - nothing works. Maybe, I'm just being too demanding in attempting to use dynamic DITA instead of static? Anyway, here's the DITA map file:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd">
<bookmap id="d2">
<booktitle>
<mainbooktitle>Adverse Reaction Detailed Clinical Model Specification</mainbooktitle>
</booktitle>
<chapter navtitle="Adverse Reaction Detailed Clinical Model">
<topicref copy-to="NEHTA-15517-Adverse_Reaction-Data_Group.dita" format="dita" href="http://cidb.cti:8060/exist/rest/db/nehta/ndsm/dev/data/adverse_reactions/v5_1/draft_072/data_groups/NEHTA-15517-Adverse_Reaction-Data_Group.xml?_xsl=/db/nehta/ndsm/dev/resources/stylesheets/nehta-detail2dita.xsl" locktitle="yes" navtitle="Adverse Reaction" />
</chapter>
</bookmap>
Sr
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Cannot find temporary file
Post by sorin_ristache »
Hello,
It doesn't work if the map and topics are not stored in the same location, either on the local system or in the eXist database. I see two options for you:
Regards,
Sorin
It doesn't work if the map and topics are not stored in the same location, either on the local system or in the eXist database. I see two options for you:
- either move the map together with the topics in the database and open the map in the Oxygen application from the database, through HTTP (the WebDAV interface of eXist),
- or map the WebDAV interface of eXist to a local directory on your Windows system so that the Oxygen application will see only local files. If I remember correctly Windows allows you to map a network resource accessed through HTTP as a local directory.
Regards,
Sorin
-
- Posts: 28
- Joined: Thu Mar 12, 2009 4:16 am
Re: Cannot find temporary file
Post by Rumplestiltzkin »
Does that mean they need to all be in the same directory/collection? I can certainly put the DITA map into a collection in eXist, but the "topics" will be spread across a number of sub-collections. is that going to be a problem?
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Cannot find temporary file
Post by sorin_ristache »
The topics should be in the same collection as the map or a sub-collection of the collection with the map. The DITA-OT toolkit expects to load the topics from the same directory as (or a sub-directory of) the DITA map.
Regards,
Sorin
Regards,
Sorin
-
- Posts: 28
- Joined: Thu Mar 12, 2009 4:16 am
Re: Cannot find temporary file
Post by Rumplestiltzkin »
Yep, they're all in sub-collections of the collections holding the DITA map and it works! Yay! Thanks for your help. 

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