[xep-support] URI resolution in fo:external-graphic images

From: amasino <amasino_at_ADDRESS_REMOVED>
Date: Fri Dec 02 2016 - 13:47:53 PST

Hi all:

I have a xmlfo source file with the following syntax:
/
//<fo:block margin-bottom="10pt" text-align="center" id="FIG1">//
// <fo:external-graphic max-width="100%" max-height="100%"//
//
src="url('http://w3.mycompany/mytool/xml/logos/mylogo.png')"/>//
// </fo:block>

/Obviously, the uri is canonical and I have configured an xml catalog to
solve it locally. My ant macro to generate the pdf file includes the
corresponding system
properties for the Catalog Resolver:

            <java
                fork="true"
                classname="com.renderx.xep.XSLDriver"
                classpathref="xep.classpath"
                classpath="${prjdir}">
                <jvmarg value="-Xms${jvm.ms}"/>
                <jvmarg value="-Xmx${jvm.mx}"/>
                <sysproperty key="com.renderx.xep.CONFIG"
value="${xepdir}/xep.xml"/>
* <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"/>**
*
While the catalog resolver works well in different things (the debugging
option shows that the XEP engine uses it), it does not resolve the
entries under the
src attribute. I tested with different options (with and without
wrapping with url, quotes, etc.), but it does not work:

* [java] [warning] Could not retrieve image from
'http://w3.mycompany/mytool/xml/logos/mylogo.png':
java.net.UnknownHostException: w3.mycompany**
*

Can the renderx engine supports this? I'm using XEP 4.24.444.

Thanks,
Alejandro

-- 
______________________________________________________ 
Alejandro Fabio Masino
atsec information security
Visit our web-site at: www.atsec.com
@sec: the information security provider

_______________________________________________
(*) 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
ww.renderx.com/terms-of-service.html
Received on Fri Dec 2 13:48:32 2016

This archive was generated by hypermail 2.1.8 : Fri Dec 02 2016 - 13:48:47 PST