Carsten Ziegeler wrote:
Actually I was too fast in answering :(

Yes, I only fixed the html serializer and that fix is not appropriate
for the xhtml. In html, the contents of the script tag is defined as a
cdata section, therefore there should be no encoding inside the script.
And that's what I fixed.
With xhtml the contents of script is defined as pcdata, so the solution
would be to create a block like this:
<script type="text/javascript">
/* <![CDATA[ */
    THE REAL JAVA SCRIPT
/* ]]> */
</script>
I definitly think that we should fix this in the serializer by adding a
"/* <![CDATA[ */" when a script tag opens and a "/* ]]> */" before the
script tag closes. Additionally no encoding inside the script tag (as
with the html serializer).

Carsten are you working on implementing this? I was going to give it a shot but if you're doing it I won't bother. :-)



Does this make sense?

Carsten



Andrew Madu wrote:
Hi Jörg,


Carsten fixed something in the HTMLSerializer, but changed nothing in
the XHTMLSerialzer:


Yes, I have seen the changes made by Carsten in HTMLSerializer:

@version CVS $Id: HTMLSerializer.java 515096 2007-03-06 12:11:29Z cziegeler

Changes to the XHTMLSerializer were made last by Crossley:

@version CVS $Id: XHTMLSerializer.java 433543 2006-08-22 06:22:54Z crossley


I have no idea (and no time to investigate) if the XHTMLSerializer needs
to be updated as well.


Ok. Could someone direct me to the where bugs are flagged?

--
Regards

Andrew





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to