cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Derek Hohls" <>
Subject Re: Serving up XHTML?
Date Thu, 12 Oct 2006 10:05:47 GMT
Thanks, Jörg
Brilliant - there _was_ a <!DOCTYPE> declaration, and removing it
has got things going.

>>> Joerg Heinicke <> 2006/10/12 11:27 AM >>>

Derek Hohls <DHohls <at>> writes:

> That works fine .. but now Cocoon is adding in other attributes:
> eg.
> <script type="text/javascript">
> becomes
> <script type="text/javascript" xml:space="preserve">
> And this is causing script errors  - how do I switch this effect off?

Do you have a doctype declaration in your source document? DTDs have something
like default attributes which the above might result from.

Unfortunately, I can not rule out it is the serializer adding those attributes.

All this "producing XHTML which must not conform to XHTML" is really awkward -
but I know it's necessary for IE.


To unsubscribe, e-mail: 
For additional commands, e-mail: 

This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
CSIR E-mail Legal Notice 
CSIR Copyright, Terms and Conditions 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message