xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Unicode entity resolved on reading document
Date Sat, 28 Mar 2009 12:27:14 GMT
Hi Paul,

Paul Wellner Bou <paul@purecodes.org> wrote on 03/27/2009 08:18:46 AM:

> Now, there are some unicode characters in the document escaped by their 
> entities:
>    <glyph unicode="&#xFC;" 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.

   Then you can't use an XML reader as all XML readers I am aware of
will replace entities, it's required.

> Is there a way to prevent the SAXSVGDocumentFactory from replacing these 

> entities?

   I think it's better to explain why this is a problem for you.
As long as the text encoding is correct there shouldn't be any
problem with replacing the character... So why is there a problem?

View raw message