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

Henri Sivonen hsivonen at iki.fi
Tue Apr 26 08:00:14 PDT 2005

Lachlan Hunt wrote:
> Henri Sivonen wrote:
>> What should text/html flavor conformance checkers say about <foo />?
>> Silently treat as <foo>> as per SGML?
> Yes.

What useful purpose would be served by doing so?

>> Silently treat as <foo> as per real world?
> Intentionally buggy/broken behaviour should not be carried over into 
> conformance checkers.

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.

Henri Sivonen
hsivonen at iki.fi

More information about the whatwg mailing list