W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > August 2011

[Bug 13604] CDATA sections are no allowed except in foreign content

From: <bugzilla@jessica.w3.org>
Date: Wed, 03 Aug 2011 21:17:27 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Qoioh-0005Wt-9t@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13604

--- Comment #4 from Philippe Le Hegaret <plh@w3.org> 2011-08-03 21:17:27 UTC ---
(In reply to comment #3)
> there's nothing wrong with using the 
> //<!CDATA[
> idiom, but unless the polyglot spec weakens it's aims to "compatible" DOM for
> some definition of compatible then it is right to say that the script should
> not contain a < (so it can't contain <![CDATA, so there is no need to say
> anything further about CDATA sections.).

Well, I still believe that being explicit would help the authors out there.
There is nothing wrong with using CDATA in XHTML but, in Polyglot, those
shouldn't be used since it won't produce identical doms.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 3 August 2011 21:17:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:16 UTC