On Tuesday, November 16, 2010, 1:00:35 AM, Mark wrote:
MG> I get a missing SVG graphic on the cover of a PDF. XEP (or Sax) says it
MG> can't access a W3C URL to validate the SVG. See Ant output below. I've
MG> tried this on two separate PCs in two different geographic areas. I can
MG> access the DTD URL it complains about with Chrome and Mozilla but not
MG> IE8 (403 forbidden). Is it possible that the W3C server is having a
MG> problem?
The W3C server is not having a problem, but it is indeed refusing to serve the DTD.
The W3C server has a throttle for IP address which repeatedly request the same DTD or schema instead of using a catalog or cache.
Some broken applications request the same DTD thousands or millions of times a day, every day.
MG> Or is XEP not handling this properly? This has worked before
MG> without a problem and no recent changes, for at least a year.
MG> This works when I change the doctype declaration in the SVG to use a
MG> local copy of the DTD.
I suggest that you set XEP to use an OASIS catalog for frequently-used DTDs and schemas. Actually that should be the default setting of XEP, users should not have to configure it.
MG> Thanks,
MG> Mark
MG> Here is part of the output from Ant when I run the PDF:
MG> [echo] Outputting FO...
MG> [echo] Generating PDF...
MG> [exec] (document [system-id file:/C:/aa-xml/build/output.fo]
MG> [exec] (validate [validation OK])
MG> [exec] (compile
MG> [exec] (masters
MG> [exec] (sequence-master [master-name cover])
MG> [exec] (sequence-master [master-name copyright-page])
MG> [exec] (sequence-master [master-name contents])
MG> [exec] (sequence-master [master-name contact])
MG> [exec] (sequence-master [master-name object-index])
MG> [exec] (sequence-master [master-name odd-page])
MG> [exec] (sequence-master [master-name even-page])
MG> [exec] (sequence-master [master-name front])
MG> [exec] (sequence-master [master-name body]))
MG> [exec] (outline )
MG> [exec] (sequence [master-reference cover]
MG> [exec] (flow [flow-name xsl-region-body]
MG> [exec] [error] Failed to create image
MG> file:/C:/stc-code/TestCenter/
MG> mainline/userdocauto/doc_source/tools/xslt/logo.svg of type null
MG> [exec] [error]
MG> com.renderx.graphics.ImageFormatException:
MG> org.xml.s
MG> ax.SAXParseException: Cannot read from
MG> http://www.w3.org/TR/2001/REC-SVG-2001090
MG> 4/DTD/svg10.dtd (Server returned HTTP response code: 500 for URL:
MG> http://www.w3.
MG> org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd)
MG> [exec] ))
MG> [exec] (sequence [master-reference copyright-page]
MG> [exec] (flow [flow-name xsl-region-body]))
MG> [exec] (sequence [master-reference front]
MG> [exec] (static-content [flow-name xsl-region-before])
MG> [exec] (static-content [flow-name xsl-region-after])
MG> [exec] (flow [flow-name xsl-region-body]))
MG>
MG> _______________________________________________
MG> (*) To unsubscribe, please visit
MG> http://lists.renderx.com/mailman/options/xep-support
MG> (*) By using the Service, you expressly agree to these Terms of Service http://w
MG> ww.renderx.com/terms-of-service.html
-- Chris Lilley Technical Director, Interaction Domain W3C Graphics Activity Lead, Fonts Activity Lead Co-Chair, W3C Hypertext CG Member, CSS, WebFonts, SVG Working Groups !DSPAM:87,4ce3fd6563731737614311! _______________________________________________ (*) 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.htmlReceived on Wed Nov 17 08:06:04 2010
This archive was generated by hypermail 2.1.8 : Wed Nov 17 2010 - 08:06:12 PST