[whatwg] text/html conformance checkers and CDATA

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