When Batik generates the SVGDocument, it sets the DTD like this
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" But I need to set the DTD
local, because my Batik runs in a closed enviroment without any internet
connection. I think I need to use a EntityResolver, but I donīt know to handle this.
Has anybody a code example to solve my problem?
Hi Sotto,
Batik already includes an EntityResolver that maps well known DTD decls to a local DTD. So something must be broken in how you are reading the files, perhaps you aren't using the Batik classes to read the document, or perhaps the local copies of the DTD got lost?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]