[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Cannot resolve SVG DTD for FO output
What JRE do you actually use? In your setup, there are references to both "C:\Program Files\Java\jre6" and "C:\Program Files\Java\jre7". Mauritz | -----Original Message----- | From: Xmplar [mailto:info@xmplar.biz] | Sent: Saturday, April 21, 2012 8:34 AM | To: docbook-apps@lists.oasis-open.org | Subject: [docbook-apps] Cannot resolve SVG DTD for FO output | | Setup: DB 1.76.1 ns, XEP 4.19, Saxon 6.5.5. | | I have produced SVG 1.1 files from Adobe Illustrator CS3 and | am linking to these from XML (not embedded). I can only | display these in FO if I remove the DTD from the SVG file - | problem with this is that fonts are substituted (e.g. | ArialMT becomes substituted with Helvetica). | | So I've attempted to set up an XML catalog using the steps | in The Definitive Guide. My results are: | | 1. SVG 1.1 DTD "svg11.dtd" put into c:/svg_dtd/. | | 2. Catalog file "svgdtd.xml" put into c:/svg_dtd/: | | <?xml version="1.0" encoding="UTF-8"?> | <!DOCTYPE catalog PUBLIC "-//OASIS//DTD XML Catalogs V1.1//EN" | "http://www.oasis-open.org/committees/entity/release/1.1/cata | log.dtd" | <http://www.oasis-open.org/committees/entity/release/1.1/cata | log.dtd> > | <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> | | <group prefer="public" xml:base="file:///c:/svg_dtd/" | <file:///c:/svg_dtd/> > | <public | publicId="-//W3C//DTD SVG 1.1//EN" | uri="svg11.dtd"/> | </group> | | </catalog> | | 3. Downloaded "resolver.jar" and associated files to | c:/xml-commons-resolver-1.2/. Added "resolver.jar" and | "CatalogManager.properties" to CLASSPATH: | | .;C:\Program | Files\Java\jre7\lib\ext\QTJava.zip;C:\xml-commons-resolver-1. | 2\resolver.jar;C:\svg_dtd\CatalogManager.properties | | | | "CatalogManager.properties" contains: | | catalogs=c:/svg_dtd/svgdtd.xml | relative-catalogs=yes | verbosity=4 | prefer=public | static-catalog=yes | allow-oasis-xml-catalog-pi=yes | | | | 4. And the xep.bat file was modified (this is what I'm | unsure about - whether I need to specify certain config options): | | @echo off | | rem This batch file encapsulates a standard XEP call. | | set CP=C:\Program | Files\RenderX\XEP\lib\xep.jar;C:\xml-commons-resolver-1.2\res | olver.jar;C:\Program | Files\RenderX\XEP\lib\saxon6.5.5\saxon.jar;C:\Program | Files\RenderX\XEP\lib\saxon6.5.5\saxon-xml-apis.jar;C:\Program | | Files\RenderX\XEP\lib\xt.jar | | if x%OS%==xWindows_NT goto WINNT | | "C:\Program Files\Java\jre6\bin\java" | -Dcom.renderx.sax.entityresolver=org.apache.xml.resolver.tool | s.CatalogResolver | \-Dcom.renderx.jaxp.uriresolver=org.apache.resolver.tools.Cat | alogResolver \ -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 | | :WINNT | | "C:\Program Files\Java\jre6\bin\java" -classpath "%CP%" | com.renderx.xep.XSLDriver "-DCONFIG=C:\Program | | Files\RenderX\XEP\xep.xml" %* | | :END | | set CP= | | | | Thanks! | | -- | Dave Gardiner | | |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]