This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7598 - s/character data/character data, attribute values and comments/
Summary: s/character data/character data, attribute values and comments/
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal
Target Milestone: LC
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-13 10:16 UTC by contributor
Modified: 2010-10-04 13:58 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2009-09-13 10:16:11 UTC
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
Comment 1 Michael[tm] Smith 2009-09-17 05:13:36 UTC
(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".


Comment 2 Ian 'Hixie' Hickson 2009-09-28 20:55:52 UTC
"character data" is an XML term (this section is talking about XML APIs).
Comment 3 Simon Pieters 2009-09-29 09:35:29 UTC
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.
Comment 4 contributor 2009-09-29 09:40:45 UTC
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