[whatwg] text/html flavor conformance checkers and <foo />

Henri Sivonen wrote:
> 
> What do you suggest the parser layer of an text/html conformance checker 
> say about <input checkbox ...>?
> 
> 1. Silently treat as <input type="checkbox" ...>?
> 2. Treat as <input type="checkbox" ...> but warn?
> 3. Treat as <input checkbox="checkbox" ...> causing an error to be 
> reported on a higher layer?
> 4. Treat as fatal error in the parser?
> 
> I'm inclined to choose 3.

*Why?* Why of all things would you choose to interpret it like /that/?
It's neither reporting a useful error, nor handling it per SGML rules.

~fantasai

Received on Tuesday, 26 April 2005 09:08:20 UTC