Ian,
Ian Burrell wrote:
On 3/13/07, Roland Neilands <[EMAIL PROTECTED]> wrote:
This is a basic XML parsing question, not particular to FOP:
Use the XML prolog "standalone" attribute to prevent the DTD lookup.
eg: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
Is there any way to set the fop config or pass command-line option to
not fetch the DTD?
It's not FOP doing this, it's the XML parser bundled (Xerces?) and no.
The DTD read is mandatory, even with validation off, because DTD's may include
entity declarations.
You could change the link to a local file, or remove it completely. Shame they haven't published an XSD instead - these do not have
this issue.
Setting the standalone attribute works great for static SVG files that
I can change. I am worried about dynamically generated ones. Or
getting my content guys to change future files they make.
They'll learn quickly when it doesn't work.
Regards,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]