Hi,
I try to create SVGOMDocument from the SVG file:
<...>
SAXSVGDocumentFactory df = new SAXSVGDocumentFactory(...);
SVGOMDocument doc = df.createDocument(uri, inputStreamReader);
<...>
If the encoding declared in SVG (xml) file does not match InputStreamReader
used encoding exception occurs:
java.io.IOException: Declared encoding "ISO-8859-1" does not match actual
one "UTF8"; this might not be an error.
at
org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source)
at
org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
Source)
<...>
How can I avoid this?
Thanks,
Marte
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]