[xep-support] Re: SVG graphic goes missing

Bob Stayton bobs at sagehill.net
Mon Nov 15 16:20:51 PST 2010


Hi Mark,
I use an XML catalog to redirect SVG DTD references to a copy on the local filesystem. 
See this reference for details:

http://www.sagehill.net/docbookxsl/SVGimages.html#SvgDtd

Bob Stayton
Sagehill Enterprises
bobs at sagehill.net


----- Original Message ----- 
From: "Kevin Brown" <kevin at renderx.com>
To: "'RenderX Community Support List'" <xep-support at renderx.com>
Sent: Monday, November 15, 2010 4:13 PM
Subject: [xep-support] Re: SVG graphic goes missing


> 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 at renderx.com
> [mailto:xep-support-bounces at renderx.com] On Behalf Of Mark Giffin
> Sent: Monday, November 15, 2010 4:01 PM
> To: xep-support at 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]))
>
>
> 
>
>
> _______________________________________________
> (*) 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
>
> 


!DSPAM:87,4ce1d4fa63731419329025!




More information about the Xep-support mailing list