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

[whatwg] trailing slash and atheism

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Fri, 01 Dec 2006 07:09:24 -0500
Message-ID: <45701B74.5020102@metalab.unc.edu> states:

Then, if the element is one of the void elements, then there may be a 
single U+002F SOLIDUS character. This character has no effect except to 
appease the markup gods. As this character is therefore just a symbol of 
faith, atheists should omit it.

The second sentence is false, and also likely to cause unnecessary 
conflict with fundamentalists who don't understand markup and don't get 
the joke. But mostly it's false. I suggest rewriting as follows:

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.

?Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Friday, 1 December 2006 04:09:24 UTC

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