Cannot find temporary file
Posted: Fri Mar 14, 2014 8:01 am
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