Martin Stoeberl wrote:
>>Martin Stoeberl wrote:
>> 
>>
>>>At the moment we use XML-Mind 3.0p1 Professional to edit our docbook
>>>sources and create then the pdf on command line (using Saxon and RenderX
>>>4.4).
>>>I would like to integrate this process in XMLmind environment but don't
>>>know how. On a windows command line I use the command
>>>
>>>java -Xms8m -Xmx1344m com.icl.saxon.StyleSheet complete.xml
>>>..\..\..\stylesheet\custom_book_fo.xsl current.docid="doc.complete"
>>>target.database.document="olinkdb.xml" > complete.fo
>>>
>>>to create the FO-file. Also it would be nice to make an extra button for
>>>creating the complete.target.db file for the xml-file (Command: java
>>>-Xms8m -Xmx1344m com.icl.saxon.StyleSheet complete.xml
>>>..\..\..\stylesheet\custom_book_fo.xsl
>>>targets.filename=complete.target.db collect.xref.targets="only").
>>>
>>>Is it possible to modify XMLmind to do this? I already tried to modify
>>>the xslMenu.incl file for this but didn't got it to work.
>>>
>>>   
>>>
>>I'm sorry but I cannot help you: I know nothing at all about <olink>
>>processing.
>>
>> 
>>
> I tried to insert the following two lines to file "xslMenu.incl" /
> command "docb.toPS" (Linux-System):
> <parameter name="current.docid">doc.%R</parameter>
> <parameter name="target.database.document">/books/de/olinkdb.xml</parameter>
> 
> The parameter seems to be used but I got a failure from message log:
> Warnung: Failure reading file:/books/de/olinkdb.xml
> The file should be readable for the program (no permission problem) and
> works when I use command line for creating the pdf.
> 
> Is it possible to get more detailed (debug) messages?
> 

"Failure reading file:/books/de/olinkdb.xml" does not come from XXE but
probably from Saxon:

---
~/src/xxe$ find . -name '*.properties' \
    -exec fgrep -l -i "Failure reading" {} \;
~/src/xxe$ #NOTHING!
---

I think that, in fact, Saxon reports an XML parse error.

Note that the the Java/Saxon command line is executed using `pwd` as its
working directory and that XXE executes its process command using
'/tmp/xxeNNNNNN' as its working directory. But I don't know if this can
explain what happens.

Other notable difference: inside XXE, Saxon uses a different XML parser:
XP instead of Alfr?d. Therefore I think you need to send me a copy of
your olinkdb.xml.







Reply via email to