W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2002

HTML 4 Erratum: CDATA element content

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 15 Sep 2002 21:28:09 +0200
To: www-html-editor@w3.org
Message-ID: <3d95de8c.116444588@smtp.bjoern.hoehrmann.de>


  http://www.w3.org/TR/html4/types.html#type-cdata reads:

  Although the STYLE and SCRIPT elements use CDATA for their data model,
  for these elements, CDATA must be handled differently by user agents. 
  Markup and entities must be treated as raw text and passed to the
  application as is. The first occurrence of the character sequence "</"
  (end-tag open delimiter) is treated as terminating the end of the
  element's content. In valid documents, this would be the end tag for 
  the element.

CDATA element content is terminated by ETAGO ("</") *plus a name start
character* (/[a-z]/i), http://www.w3.org/TR/html4/appendix/notes#h-B.3.2
gets this right.

Received on Sunday, 15 September 2002 15:29:45 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:47 UTC