Re: OracleXMLParser and Entity
From: Lars Marius Garshol <larsga_at_garshol.priv.no>
Date: Sun, 18 Aug 2002 15:04:43 GMT
Message-ID: <m3d6sg1a4f.fsf_at_pc36.avidiaasen.online.no>
Date: Sun, 18 Aug 2002 15:04:43 GMT
Message-ID: <m3d6sg1a4f.fsf_at_pc36.avidiaasen.online.no>
- ronensh_at_hotmail.com
|
| The problem is when we parse string that contains the parser
| generates XMLDocument that contains character ASCII 160 (as part of
| text element) instead of Entity.
This is the correct behaviour. Applications don't want to know about these entities.
| ASCII 160 is the right value for NonBreakableSpace but we need it as
| an Entity so we can generate the original string with for the
| user to edit.
I would recommend that you regenerate the s again when you export the document. Or use an editor that displays NBSP characters in a way that is clearly distinct from simple spaces.
| Does anyone have idea how to make the parser preserve the entities?
Don't try, would be my recommendation.
-- Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net > ISO SC34/WG3, OASIS GeoLang TC <URL: http://www.garshol.priv.no >Received on Sun Aug 18 2002 - 17:04:43 CEST