Hello,
I am reading an SVG document using this code:
String parser= XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f= new SAXSVGDocumentFactory(parser);
String uri= sourcefile.toURI().toString();
Document doc= f.createDocument(uri);
Now, there are some unicode characters in the document escaped by their
entities:
<glyph unicode="ü" horiz-adv-x="1026" d="..."/>
But in the resulting document this is replaced with "ü". I don't want
this, as I don't want to touch the original document in any way -- just
the necessary modifications.
Is there a way to prevent the SAXSVGDocumentFactory from replacing these
entities?
Thanks and regards
Paul.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]