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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13604

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