[xep-support] Adobe SVG

Nikolai Grigoriev grig at renderx.com
Mon Jun 21 10:32:45 PDT 2004


James,

> I can do following and not receive an error:
> ...
> <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo 

You are specifying these classes as arguments to XSLDriver class,
whereas they should be arguments _to the Java machine itself_.
In Ant, system variables for a forked Java call are set using <jvmarg>:

<java classname="com.renderx.xep.XSLDriver" ...>
<arg line="...."/>
<jvmarg value="-Dcom.renderx.sax.entityresolver=com.sun.resolver.tools.CatalogResolver"/>
<jvmarg value="-Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver"/>
</java>

Regards,
Nikolai


----- Original Message ----- 
From: "James Drayton" <James.Drayton at Solipsys.com>
To: <xep-support at renderx.com>
Sent: Monday, June 21, 2004 8:26 PM
Subject: RE: [xep-support] Adobe SVG


Nikolai,

It appears that the following:

java 
   -Dcom.renderx.sax.entityresolver=.sun.resolver.tools.CatalogResolver
   -Dcom.renderx.jaxp.uriresolver=com.sun.resolver.tools.CatalogResolver

I can do following and not receive an error:

<propertycopy name="PDF_DOC" from="${docType}_PDF" />
  <echo message="Building ${docType} PDF Document with XEP..." />
    <java classname="com.renderx.xep.XSLDriver"
          classpathref="docbook.classpath"
          fork="true"
          dir="."
          maxmemory="${MAX_MEMORY}"
          failonerror="true"
    >
    <arg line="-DROOT=${XEP_HOME} -Dcom.renderx.sax.entityresolver=foo
-Dcom.renderx.jaxp.uriresolver=foo
-fo ${DOC_TMP_DIR}/.tmp${docType}.PDF.fo -pdf ${PDF_DOC}" />
    </java>


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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/tos.html



More information about the Xep-support mailing list