<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all:<br>
<br>
I have a xmlfo source file with the following syntax:<br>
<i><br>
</i><i><fo:block margin-bottom="10pt" text-align="center"
id="FIG1"></i><i><br>
</i><i> <fo:external-graphic max-width="100%"
max-height="100%"</i><i><br>
</i><i>
src="url('<a class="moz-txt-link-freetext" href="http://w3.mycompany/mytool/xml/logos/mylogo.png">http://w3.mycompany/mytool/xml/logos/mylogo.png</a>')"/></i><i><br>
</i><i> </fo:block><br>
<br>
</i>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<br>
properties for the Catalog Resolver:<br>
<br>
<java<br>
fork="true"<br>
classname="com.renderx.xep.XSLDriver"<br>
classpathref="xep.classpath"<br>
classpath="${prjdir}"><br>
<jvmarg value="-Xms${jvm.ms}"/><br>
<jvmarg value="-Xmx${jvm.mx}"/><br>
<sysproperty key="com.renderx.xep.CONFIG"
value="${xepdir}/xep.xml"/> <br>
<b> <sysproperty
key="com.renderx.sax.entityresolver"
value="org.apache.xml.resolver.tools.CatalogResolver"/></b><b><br>
</b><b> <sysproperty
key="com.renderx.jaxp.uriresolver"
value="org.apache.xml.resolver.tools.CatalogResolver"/></b><b><br>
</b><br>
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 <br>
src attribute. I tested with different options (with and without
wrapping with url, quotes, etc.), but it does not work:<br>
<br>
<b> [java] [warning] Could not retrieve image from
'<a class="moz-txt-link-freetext" href="http://w3.mycompany/mytool/xml/logos/mylogo.png">http://w3.mycompany/mytool/xml/logos/mylogo.png</a>':
java.net.UnknownHostException: w3.mycompany</b><b><br>
</b> <br>
<br>
Can the renderx engine supports this? I'm using XEP 4.24.444.<br>
<br>
Thanks,<br>
Alejandro<br>
<pre class="moz-signature" cols="72">
--
______________________________________________________
Alejandro Fabio Masino
atsec information security
Visit our web-site at: <a class="moz-txt-link-abbreviated" href="http://www.atsec.com">www.atsec.com</a>
@sec: the information security provider
</pre>
</body>
</html>