[whatwg] 188.8.131.52: trailing slash and atheism
ian at hixie.ch
Fri Dec 1 08:56:29 PST 2006
On Fri, 1 Dec 2006, Elliotte Harold wrote:
> 184.108.40.206 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 [...]
> The second sentence is false [...] I suggest rewriting as follows:
> This character has no effect when the document is parsed by an HTML5 parser.
That's redundant. Parsing a document using this syntax with anything other
than an HTML5 parser would be non-conforming.
> 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.
This section has nothing to do with XML. If the document was parsed by an
XML parser, then there are much bigger problems afoot, such as MIME type
mislabelling, or a faulty UA.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg