[whatwg] text/html conformance checkers and CDATA

David Håsäther hasather at gmail.com
Tue Jul 26 02:52:09 PDT 2005


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



More information about the whatwg mailing list