[whatwg] 9.1.2.1: trailing slash and atheism

Elliotte Harold wrote:

> This character has no effect when the document is parsed by an HTML5 
> parser. However, if the document when parsed by an XML parser, the 
> trailing slash converts the tag into an empty-element tag, and thereby 
> makes an otherwise malformed element well-formed.

If you're trying to parse a HTML5 document with an XML parser you're doing 
something really screwy anyway.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead

Received on Friday, 1 December 2006 04:13:49 UTC