W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] 9.1.2.1: trailing slash and atheism

From: James Graham <jg307@cam.ac.uk>
Date: Fri, 01 Dec 2006 12:13:49 +0000
Message-ID: <45701C7D.9080500@cam.ac.uk>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:30 UTC