W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] text/html conformance checkers and CDATA

From: David Håsäther <hasather@gmail.com>
Date: Tue, 26 Jul 2005 11:52:09 +0200
Message-ID: <42E607C9.2080809@gmail.com>
On 2005-07-26 03:38, Lachlan Hunt wrote:

> I believe "</" is only valid in script and style elements according to 
> SGML rules when it is the end-tag for the elements [...]

Only ETAGO delimiter-in-context (i.e. "</" followed by a name start
character) will be recognized as an end-tag. The string "</" alone will
mean just data to the parser.

> [...] and therefore, must 
> be of the form </script>, </style> or the SHORTTAG NET form </>.

Or NET if the start-tag was net-enabling (but this isn't supported either).

-- 
David H?s?ther
Received on Tuesday, 26 July 2005 02:52:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC