[xep-support] SVG DTD issue with Oxygen/XEP

From: <Annette-consultant.Bouillin@fresenius-kabi.com>
Date: Mon Oct 06 2014 - 00:44:14 PDT

I'm using XEP to create PDF files from DITA source files in Oxygen. I'm
having trouble with the DTD validation (in details, if I comment the
doctype declaration, there is no problem, if I leave the doctype
declaration, I got the following error message "[java] EXCEPTION: Failed
to create image
of type null" which I think is caused by the online validation blocked by
the company proxy).
As indicated in the user documentation, I tried to set up a catalog to
have XEP validate with a local DTD but to no avail.
Here is what I did:

1/ Copied svg10.dtd and svg11.dtd from Oxygen directory to C:\XML_DTD
(Windows 7 OS).

2/ Downloaded xml-commons-resolver-1.2 (so resolver.jar is in

3/ Created a catalog file as follows (catalog.xml in C:\XML_DTD):

<?xml version="1.0"?>
<!--<!DOCTYPE catalog
   PUBLIC "-//OASIS/DTD Entity Resolution XML Catalog V1.0//EN"
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
       publicId="-//W3C//DTD SVG 1.1//EN"

4/ Created a properties file (CatalogManager.properties in C:\XML_DTD) as

5/ Modified XEP batch script as follows:
@echo off
rem This batch file encapsulates a standard XEP call.

set CP=C:\XML_DTD\xml-commons-resolver-1.2;C:\Program

if x%OS%==xWindows_NT goto WINNT
"C:\Program Files\Java\jre6\bin\java"
-Dcom.renderx.jaxp.uriresolver=org.apache.resolver.tools.CatalogResolver \
-classpath "%CP%" com.renderx.xep.XSLDriver "-DCONFIG=C:\Program
Files\RenderX\XEP\xep.xml" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto END

"C:\Program Files\Java\jre6\bin\java" -classpath "%CP%"
com.renderx.xep.XSLDriver "-DCONFIG=C:\Program Files\RenderX\XEP\xep.xml"


set CP=

6/ Added system environment variable:

But it doesn't work, the transformation in Oxygen still fails. Any idea of
what I'd have missed?
Thanks & regards,
(Also posting this question on Oxygen forum and maybe Yahoo dita users

Annette-consultant Bouillin
IFU project lead for ONG - Assystem consultant

Société par Actions Simplifiée
au capital de 15 344 534,75 euros
RCS Grenoble B 408 720 282

Le Grand Chemin
38590 Brézins - France
T : +33 4 76 67 57 04
F : +33 4 76 67 11 34

Ce message est à la seule attention du (ou des) destinataire(s)
attitré(s). Il peut contenir des informations confidentielles ou privées
et faire l'objet d'une protection par privilège juridique. Si vous n'êtes
pas un destinataire attitré, vous ne pouvez pas revoir, utiliser, copier
ou distribuer ce message ou ses pièces attachées. Si vous avez reçu cette
communication par erreur, merci de bien vouloir en aviser l'expéditeur par
retour de courriel et de détruire de votre ordinateur ce message ainsi que
les pièces attachées.

This e-mail message is intended solely for the use of the addressee and
may contain legally privileged and confidential information. If you are
not the intended recipient or his/her representative, please be advised
that any dissemination, distribution, copying, or the use of this message
or its attachments is strictly prohibited. If you have received this
message in error, please notify the sender immediately and please delete
this message and all attachments from your computer.

Par égard pour l'environnement, n’imprimez ce message que si nécessaire.
With regards to the environment, print this message only if necessary.


(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
Received on Mon Oct 6 00:44:18 2014

This archive was generated by hypermail 2.1.8 : Mon Oct 06 2014 - 00:44:25 PDT