On Wed, 6 Oct 2004, Andreas Hartmann wrote:

> The XMLEncoder encodes ' as '
> This behaviour is inherited by the XHTMLEncoder, but
> overridden by the HTMLEncoder.
>
> MS Internet Explorer does not expand the ' entity but
> shows the string "'" instead on the web page.
> That's why the XHTMLSerializer is not compatible with IE.
>
>
> Would it be useful to add the special treatment of the
> ' character to the XHTMLSerializer too? Or should I rather
> use my own serializer class?

I don't recommend either approach.  What would be best is an option
to the existing seralializer to select either string or numeric
values for entities.

-- 
JP


Reply via email to