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 5837 - Rename CDATA block state to CDATA section state
Summary: Rename CDATA block state to CDATA section state
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: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-06 23:11 UTC by Simon Pieters
Modified: 2010-10-04 14:30 UTC (History)
3 users (show)

See Also:


Attachments

Description Simon Pieters 2008-07-06 23:11:48 UTC
Terminology issue.

http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-667469212
http://www.w3.org/TR/REC-xml/#sec-cdata-sect

...refer to <![CDATA[ ... ]]> as a CDATA section.

http://code.google.com/webstats/ refers to script and style elements as CDATA blocks.

To avoid confusion I'd suggest renaming the CDATA block state to CDATA section state.
Comment 1 Ian 'Hixie' Hickson 2008-07-06 23:20:06 UTC
I'll go through the spec and make sure all the mentions of CDATA fall into one of the following:

  CDATA section (<![CDATA[ ... ]]> syntax and the tokeniser state for it)
  CDATA section node (CDATASection DOM Node object)
  CDATA state (the content model flag in the tokeniser)
  CDATA element (an element that triggers that state)