Problems transforming DITA to PDF

Having trouble installing Oxygen? Got a bug to report? Post it all here.
klein
Posts: 3
Joined: Wed Jun 30, 2010 12:12 pm

Problems transforming DITA to PDF

Post by klein »

Hi,

I installed oxygen Editor with XEP and updated the toolkit to v1.5.1. The installation is in D:\Programme\oxygen\ on a Windows machine.

When I start the toolkit via startcmd.bat and do the transformation via DOS-command everything is fine.

When I open my bookmap with oxygen and start the transformation I get the following error:
Started: D:\Programme\RenderX\XEP\xep.bat -fo D:\myfolder\mybookmap.ditamap_fo -pdf D:\myfolder\mybookmap.pdf
(document [system-id file:/D:/myfolder/mybookmap.ditamap_fo]
[error] Fatal parse error: file:/D:/myfolder/mybookmap.ditamap_fo: line 3, column 50: Cannot read from http://docs.oasis-open.org/dita/dtd/bookmap.dtd

Parse error: Cannot read from http://docs.oasis-open.org/dita/dtd/bookmap.dtd
Process ended with exit code: 0
The referenced file has this code:
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN"
"http://docs.oasis-open.org/dita/dtd/bookmap.dtd">
The URI is resolved with the normal entry in the catalog file.

If I use one of my topic-files with a specialized DTD, the transformation works fine. Only files with standard DTDs produce this problem.

Thanks in advance for any help.

Best regards
Radu
Posts: 9440
Joined: Fri Jul 09, 2004 5:18 pm

Re: Problems transforming DITA to PDF

Post by Radu »

Hi,

I do not think you are running the Bookmap transformation using the DITA Open Toolkit as you should.
The output FO file should not contain any DOCTYPE so I think that you are probably applying the XEP processor directly on the bookmap instead of processing the bookmap using the DITA Open Toolkit.
In order to configure XEP in Oxygen you have to go to the Preferences XML / XSLT-FO-XQuery / FO Processors page and click the button Browse for XEP. (but this you have probably already done).
Do you open the DITA Map in the DITA Maps Manager view or in the main editor area?
Here is a screenshot showing how such a transformation may be configured:
http://www.oxygenxml.com/forum/files/bo ... nsform.png

Here is a link to our user manual showing the available output formats for the DITA OT transformations:
http://www.oxygenxml.com/doc/ug-oxygen/ ... ation.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
klein
Posts: 3
Joined: Wed Jun 30, 2010 12:12 pm

Re: Problems transforming DITA to PDF

Post by klein »

Thank you for your help.

I forgot to create a transformation. I just saw the standard transformation with XEP in the name (I have the DocBench bundle) and clicked on it. Your links helped me to realize that I haven't done a necessary step and after creating a transformation with my parameters everything works fine.

Thank you again.
Radu
Posts: 9440
Joined: Fri Jul 09, 2004 5:18 pm

Re: Problems transforming DITA to PDF

Post by Radu »

Hi,

Thanks for the details.
The guys at RenderX are probably including a default transformation scenario when distributing Oxygen.
We'll get in touch with them to find out more details.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply