[Seaside] Re: liveCallback and SUAutocompleter

Philippe Marschall philippe.marschall at gmail.com
Wed Nov 22 07:25:45 UTC 2006

2006/11/21, Lukas Renggli <renggli at gmail.com>:
> > Wouldn't the same behavior also apply to styles?
> I don't know, but that is rarely used in Seaside anyway.
> The only thing I found out was that a script that has the & encoded as
> &amp; doesn't work within a <script>,

This is really strange.

> but does within an attribute
> value. JavaScript code only works in a <script> when the contents is
> not encoded, but this turns the XHTML invalid if the contents is not
> within a CDATA construct. The CDATA construct should not harm any
> browser that does not understand it, so what is your aversion against
> it except that you don't like it?

CDATA is not part of HTML. It's part of XML and we serve as text/html
which means it gets treated as HTML. It's just plain wrong.
Second, it breaks as soon as somewhere in a script is ']]>' lets say
for XML parsing or whatever. For the person this happens this will
mean real pain. It's not a solution, it just appears to works in some


More information about the Seaside mailing list