[Bug 16682] New: Don't throw for ]]> with serializeAsCDATA

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16682

           Summary: Don't throw for ]]> with serializeAsCDATA
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DOM Parsing and Serialization
        AssignedTo: Ms2ger@gmail.com
        ReportedBy: simonp@opera.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, www-dom@w3.org


http://html5.org/specs/dom-parsing.html#concept-serialize-xml - instead of
throwing for ]]> in text node with serializeAsCDATA, i think you should
serialize a cdata section up to the first "]]>" not including the ">", then
emit the rest (including the ">") as text

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 10 April 2012 13:16:26 UTC