W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11261] New: Bogus reference to CDATA attributes

From: <bugzilla@jessica.w3.org>
Date: Mon, 08 Nov 2010 11:47:37 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11261-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11261

           Summary: Bogus reference to CDATA attributes
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: jjc@jclark.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html#attributes

says

"polyglot markup does not contain tabs, line feeds, or carriage returns within
CDATA attributes"

I am not sure what is meant by "CDATA attributes" here. HTML5 doesn't seem to
have any such concept, and for XHTML it is DTD-dependent.

My understanding is that the HTML5 DOM contains the unnormalized attribute
value of all attributes. Thus this should say "attribute values" not "CDATA
attributes".  However, this does not make clear whether you are talking about
the DOM or the characters of the XML document.

How about "tabs, line feeds and carriage returns in attribute values MUST be
represented by numeric character references and not by literal characters"?

-- 
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 Monday, 8 November 2010 11:47:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 November 2010 11:47:39 GMT