W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 26 Apr 2005 18:00:14 +0300
Message-ID: <426E577E.2080900@iki.fi>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC