[whatwg] 9.1.2.1: trailing slash and atheism

James Graham jg307 at cam.ac.uk
Fri Dec 1 04:13:49 PST 2006


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



More information about the whatwg mailing list