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

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
http://hsivonen.iki.fi/

Received on Tuesday, 26 April 2005 08:00:14 UTC