[xep-support] Re: SVG graphic goes missing

From: Kevin Brown <kevin@renderx.com>
Date: Mon Nov 15 2010 - 16:13:05 PST

Mark:

Internal Error 500 from a web server is a problem from the web server side.
You can remove the SVG DTD link or use the local copy but it is not a
RenderX problem.

Kevin Brown
RenderX

-----Original Message-----
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Mark Giffin
Sent: Monday, November 15, 2010 4:01 PM
To: xep-support@renderx.com
Subject: [xep-support] SVG graphic goes missing

I get a missing SVG graphic on the cover of a PDF. XEP (or Sax) says it
can't access a W3C URL to validate the SVG. See Ant output below. I've
tried this on two separate PCs in two different geographic areas. I can
access the DTD URL it complains about with Chrome and Mozilla but not
IE8 (403 forbidden). Is it possible that the W3C server is having a
problem? Or is XEP not handling this properly? This has worked before
without a problem and no recent changes, for at least a year.

This works when I change the doctype declaration in the SVG to use a
local copy of the DTD.

Thanks,
Mark

Here is part of the output from Ant when I run the PDF:

      [echo] Outputting FO...
      [echo] Generating PDF...
      [exec] (document [system-id file:/C:/aa-xml/build/output.fo]
      [exec] (validate [validation OK])
      [exec] (compile
      [exec] (masters
      [exec] (sequence-master [master-name cover])
      [exec] (sequence-master [master-name copyright-page])
      [exec] (sequence-master [master-name contents])
      [exec] (sequence-master [master-name contact])
      [exec] (sequence-master [master-name object-index])
      [exec] (sequence-master [master-name odd-page])
      [exec] (sequence-master [master-name even-page])
      [exec] (sequence-master [master-name front])
      [exec] (sequence-master [master-name body]))
      [exec] (outline )
      [exec] (sequence [master-reference cover]
      [exec] (flow [flow-name xsl-region-body]
      [exec] [error] Failed to create image
file:/C:/stc-code/TestCenter/
mainline/userdocauto/doc_source/tools/xslt/logo.svg of type null
      [exec] [error] com.renderx.graphics.ImageFormatException:
org.xml.s
ax.SAXParseException: Cannot read from
http://www.w3.org/TR/2001/REC-SVG-2001090
4/DTD/svg10.dtd (Server returned HTTP response code: 500 for URL:
http://www.w3.
org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd)
      [exec] ))
      [exec] (sequence [master-reference copyright-page]
      [exec] (flow [flow-name xsl-region-body]))
      [exec] (sequence [master-reference front]
      [exec] (static-content [flow-name xsl-region-before])
      [exec] (static-content [flow-name xsl-region-after])
      [exec] (flow [flow-name xsl-region-body]))

!DSPAM:87,4ce1c96963732049272862!

_______________________________________________
(*) 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

_______________________________________________
(*) 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 Mon Nov 15 16:13:12 2010

This archive was generated by hypermail 2.1.8 : Mon Nov 15 2010 - 16:13:13 PST