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: Thu, 04 Aug 2011 07:47:31 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QoseR-0003bF-Vw@jessica.w3.org>

Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
                 CC|                            |hsivonen@iki.fi

--- Comment #7 from Henri Sivonen <hsivonen@iki.fi> 2011-08-04 07:47:30 UTC ---
(In reply to comment #4)
> 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.

If you desugar the DOMs, they are equivalent, though. The problem with talking
about "the DOM" as a shorthand for the document tree is that the DOM has some
domain modeling errors--particularly exposing the CDATA syntactic sugar in the
data model.

Note that there's an ongoing attempt to remove this domain modeling error from
the Web DOM: https://bugzilla.mozilla.org/show_bug.cgi?id=660660

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 Thursday, 4 August 2011 07:47:32 UTC

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