- From: Bjoern Hoehrmann <derhoermi@gmx.net>
- Date: Sun, 15 Sep 2002 21:28:09 +0200
- To: www-html-editor@w3.org
Hi, 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. regards.
Received on Sunday, 15 September 2002 15:29:45 UTC