Hi,

I am in the Oracle CPQ Cloud team. We license XmlMind’s XML-FO Convertor to 
output Docx documents. We have a requirement to support proxies for External 
images referenced in fo tags. The issue we are facing is that it doesn’t 
resolve the external image when there a proxy server on the envns where the FO 
conversion is happening.

Sample:
<fo:external-graphic src="url(http://nginx.org/nginx.png)" width="auto" 
height="auto" content-width="auto" content-height="auto"/>

Here is what we have tried

  *   Download the latest XML-FO Convertor
  *   Install the samples and binaries onto an envn that requires the use of 
proxy
  *   Before setting proxy envn vars
     *   Curl hangs/blocks
     *   Converting sample’s userguide.fo with above fo tag also hangs/blocks
  *   After setting proxy envn vars
     *   Curl succeeds
     *   Converting sample’s userguide.fo with above fo tag doesn’t blocks but 
outputs the message
  *   warning: failed to load image "http://nginx.org/nginx.png": 
http://www-proxy.us.oracle.com 
(file:/Users/ASSINGHA/Downloads/xfc_eval_java-6_4_1/samples/userguide2.fo, line 
#428, column #1993)
     *   It output an empty image file



What is the solution? Is there a workaround?



Setting of proxy vars

  *   We are tried various options but nothing works for XML-FO Convertor
  *   Setting of envn vars
  *   Setting java vars while running the convertor script
  *   exec java -Dhttp.proxyHost=http://www-proxy.us.oracle.com 
-Dhttp.proxyPort=80 -Djava.awt.headless=true com.xmlmind.fo.converter.Driver



Please help. This is a Severity 0 issue for us.



Thanks,

Ashish Singhal

Oracle CPQ Cloud

--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to