This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section: http://www.whatwg.org/specs/web-apps/current-work/#coercing-an-html-dom-into-an-infoset Comment: s/character data/character data, attribute values and comments/ Posted from: 83.252.193.59
(In reply to comment #0) > Section: > http://www.whatwg.org/specs/web-apps/current-work/#coercing-an-html-dom-into-an-infoset > > Comment: > s/character data/character data, attribute values and comments/ Actually, the spec doesn't define what "character data" is, so the the term should either be defined or replaced with the term "text".
"character data" is an XML term (this section is talking about XML APIs).
Yes, but character data does not include attribute values or comments, since attribute values and comments are part of the markup and character data is defined to be everything that is not markup. Attribute values and comments should however get the same coercion treatment as character data in order to achieve well-formedness.
Checked in as WHATWG revision r4044. Check-in comment: character data doesn't include stuff in markup, oops http://html5.org/tools/web-apps-tracker?from=4043&to=4044