cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean Pierre LeJacq <>
Subject Re: [blocks.serializers] XHTMLEncoder, &apos; and Internet Explorer
Date Wed, 06 Oct 2004 13:53:06 GMT
On Wed, 6 Oct 2004, Andreas Hartmann wrote:

> The XMLEncoder encodes ' as &apos;
> This behaviour is inherited by the XHTMLEncoder, but
> overridden by the HTMLEncoder.
> MS Internet Explorer does not expand the &apos; entity but
> shows the string "&apos;" 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.


View raw message