Hi,

I somehow got it working… not sure if changing the serializer from xhtml to html fixed it though.

In my experience, yes. When using the XHTML serializer it seems that the <script/> elements in the head are not all recognized as XML elements. Adding some newlines now and then helps fixing this issue.

Just for interest you may find my updates to the HTMLSerializer document [1] useful in this regard. I think the <script> tag is treated differently between XHTML and HTML.

[1] http://cocoon.zones.apache.org/daisy/cdocs/g1/g1/g2/g4/Serializer/896.html?branch=1&language=1

Regards,
David Legg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to