[whatwg] 9.1.2.1: trailing slash and atheism

9.1.2.1 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!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

Received on Friday, 1 December 2006 04:09:24 UTC