W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2012

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 10 Apr 2012 13:16:17 +0000
To: www-dom@w3.org
Message-ID: <bug-16682-4009@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:09 GMT