[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Content of Script element getting wrapped by CDATA


Subject: Re: [xsl] Content of Script element getting wrapped by CDATA
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Fri, 24 Oct 2008 09:39:00 +0100

2008/10/24 Joyce Babu <joyce@xxxxxxxxxxxxx>
>
> I am sorry, I was referring to the XML declaration.
>

In IE6 the presence of the xml prolog will put the browser into quirks
mode, rather than the intended strict mode.

"In Explorer 6 Windows, Microsoft implemented one extra rule: if a
doctype that triggers strict mode is preceded by an xml prolog, the
page shows in quirks mode. This was done to allow web developers to
achieve valid pages (which require a doctype) but nonetheless stay in
quirks mode."

"Note that this behaviour has been removed from Explorer 7."

from: http://www.quirksmode.org/css/quirksmode.html



--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread
Keywords
xml