Page 1 of 1

DocBook Transformation XML to PDF Missing Images

Posted: Wed Dec 19, 2007 6:32 pm
by armin123
When I do a transformation of a singe xml file to pdf, the images
referenced appear in the generated pdf file. When I do a transformation
of all my xml files to one pdf file the images referenced disappear. I am using xinclude to break my files down. I've tried using gif, jpeg and the file format does not matter.

The images appear with no problems when I do a transformation to html
and javahelp.

Posted: Thu Dec 20, 2007 12:42 pm
by Radu
Hi,

We made some simple tests with xincluded Docbook documents which refer images and we could not reproduce the problem.
Do you have the xinclude support activated from Oxygen Preferences -> XML Parser page : "Enable XInclude support"?
If you do can you send us some sample files to reproduce the problem at: support at oxygenxml dot com ?

Regards,
Radu

Posted: Sat Dec 29, 2007 12:38 am
by armin123
I have xinclude enabled. I will send you some sample files for you to reproduce this problem. Thank you.

Posted: Fri Jan 04, 2008 6:59 pm
by sorin_ristache
Hello,

Due to a bug in the Xerces parser XInclude references are not resolved correctly if they are nested on more than one level and at least on one of the nesting levels the included file is not in the same folder as the including file.

There is a workaround in oXygen: keep the included file(s) which are not in the same folder as the direct parent file which includes it (them) opened in an editor panel in oXygen. If the file is kept open in an editor panel in oXygen the parser will use the content of the editor panel instead of reading it from disk/requesting it from a remote server. However we will have to wait for a clean solution from the Xerces development team which we expect to fix the bug.


Regards,
Sorin