Re: [xep-support] [Solved] Re: SVG, identifiers, xml catalogs, resolver, net access

From: David Cramer <david@thingbag.net>
Date: Sun Sep 16 2007 - 10:30:03 PDT

Thanks Steve for posting that summary.

I'd like to configure xep to use xml catalog files using the XEP ANT
Task 2.0. I don't see anything about that in
<http://www.renderx.com/ant.html>. Would I use <sysproperty>s as
children of the <xep> task and pass in the resolver jar using the
<classpath>?

      <sysproperty key="com.renderx.sax.entityresolver"
value="org.apache.xml.resolver.tools.CatalogResolver"/>
      <sysproperty key="com.renderx.jaxp.uriresolver"
value="org.apache.xml.resolver.tools.CatalogResolver"/>

Or should I pass in them in when I invoke ant? Is it possible to use
ant's <xmlcatalog>?

Thanks,
David

Steve Whitlatch wrote:
> To conclude on this thread and leave a record in the archives for others,
> . . . it works. After setting everything up as described previously by others
> in this and similar threads, I needed to adjust the placement of the
> command-line parameters.
>
> Instead of:
> % java -cp " . . ." \
> com.renderx.xep.XSLDriver -DCONFIG=C:\\RenderX\\XEP\\xep.xml \
> -Dcom.renderx.sax.entityresolver=org.apache.xml.resolver.tools.CatalogResolver
> -Dcom.renderx.jaxp.uriresolver=org.apache.xml.resolver.tools.CatalogResolver \
> -fo file.fo -pdf file.pdf
>
> The command string needed to have the "-D . . ." parameters associated with
> the java executable, not com.renderx.xep.XSLDriver.
>
> So, this works:
> % java -cp " . . ." \
> -Dcom.renderx.sax.entityresolver=org.apache.xml.resolver.tools.CatalogResolver
> -Dcom.renderx.jaxp.uriresolver=org.apache.xml.resolver.tools.CatalogResolver \
> com.renderx.xep.XSLDriver -DCONFIG=C:\\RenderX\\XEP\\xep.xml \
> -fo file.fo -pdf file.pdf
>
> RenderX tech support solved it. Thanks!!
>
> Steve Whitlatch
>
> -------------------
> (*) 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
>

-------------------
(*) 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 Sun Sep 16 11:11:16 2007

This archive was generated by hypermail 2.1.8 : Sun Sep 16 2007 - 11:11:21 PDT