Re: [xep-support] Configuring XML Catalog file for SVG DTD

From: Benoit Maisonny <benoit@synclude.com>
Date: Thu May 04 2006 - 02:08:34 PDT

I don't do it in oXygen myself, but hopefully this will put you on the
right track.

1. oXygen and XEP

I'd suggest to edit the command line used by oXygen to start XEP (see
Options/Preferences/XML/.../FO processor) and type in there the
parameters that XEP needs (see XEP's user guide for details).

You also need to have the CatalogResolver and its .properties file in
your class path.

Here is what I use in a batch file under Windows, you need to adapt it
to oXygen:

set XEP_HOME=c:\programs\xep3_7_5
set
CP="%XEP_HOME%\lib\xep375_server.jar;%XEP_HOME%\lib\cryptix32.jar;%XEP_HOME%\lib\cryptix32-pgp.jar;%XEP_HOME%\lib\saxon.jar;%XEP_HOME%\lib\xt.jar;c:\programs\resolver-1.1;c:\programs\resolver-1.1\resolver.jar"
set JAVA_OPT=-Xmx256m -cp %CP%
-Dcom.renderx.sax.entityresolver=com.sun.resolver.tools.CatalogResolver
-Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver
-Dcom.renderx.xep.ROOT="%XEP_HOME%" com.renderx.xep.XSLDriver %quiet%
-fo %1 -pdf %2

java %JAVA_OPT%

2. Catalog and SVG

Put something like this in your catalog.xml file (which you indicate in
your CatalogManager.properties file):
<public publicId="-//W3C//DTD SVG 1.1//EN"
uri="file:///.../svg11-flat-20030114.dtd"/>

For details about catalog manager configuration, see:
http://xml.apache.org/commons/components/resolver/resolver-article.html

XML Catalogs are strange beasts, difficult to tame... Good luck! :-)

Benoit

Keith - Parenty Reitmeier, Inc. wrote:

> Can someone please describe exactly how to configure a Catalog file to
> work with my transformations. I especially would like to set up the
> SVG DTD locally, in the hopes of alleviating lagging transform times
> and occasional timeouts that result in missing graphics. I transform
> using oXygen 7.1 (XSL processing using Xalan) and XEP 3.8.4.
>
> Thanks,
> Keith
>
>

-- 
Benoit Maisonny                benoit@synclude.com
Director & Consultant          http://synclude.com
Synclude
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Thu May 4 02:38:40 2006

This archive was generated by hypermail 2.1.8 : Thu May 04 2006 - 02:38:41 PDT