W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 31 Oct 2013 00:36:44 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-13604-2486-6viDGx43kw@http.www.w3.org/Bugs/Public/>

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
         Depends on|                            |23593

--- Comment #10 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to Philippe Le Hegaret from comment #0)
> The HTML5 spec is clear that "CDATA sections can only be used in foreign
> content (MathML or SVG)." [1].
> However, the polyglot spec is mostly silent on those. Tidy generates CDATA
> sections for inline style and script when it outputs XHTML. It would be good
> to make it that those CDATA markers must not be used.
> [1] http://www.w3.org/TR/html5/syntax.html#cdata-sections

Since this bug was opened, some thing has happened: Polyglot Markup now has a
section on raw text elements which, first, speaks about 'safe text' and
thereafter, about 'safe CDATA': 


3.6.2 Raw text elements (script and style) The safe text content option The safe CDATA option

Thus it is possible that this bug is already fixed, in principle. However, bug
23593 might lead to some changes for the <script> element.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 31 October 2013 00:36:45 UTC

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