[JDEV] Problem with accentuation...
Michael Wilson
mwilson at myopenapps.com
Thu Mar 15 12:13:12 CST 2001
Daniel Veillard wrote:
> On Thu, Mar 15, 2001 at 01:24:44PM +0000, Michael Wilson wrote:
>> I still don't know why Jabber insists on unescaping all character
>> entities though.
>
> Unless I misunderstood, there is a set of good reasons:
> - you don't want to have to load and use a DTD to check those
> entities (yes it's a major pain on top of SAX and would definitely
> be too costly on the servers !).
If entities aren't specified, why are they being parsed at all? Something
like &blah; should just look like any other piece of text shouldn't it?
I definitely agree that there's no call for them at the program level,
but I see no reason why I shouldn't be able to send HTML snippets
containing entities in my messages without them mysteriously mutating.
+--
| Michael Wilson "Smart Applications - Tools for life"
| Java Developer available @
| Insight ASP LTD http://www.myopenapps.com
+----------------------Open Source Innovation-----------------------
More information about the JDev
mailing list