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

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

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 25 Apr 2005 22:00:32 +0200
Message-ID: <426D4C60.6070307@annevankesteren.nl>
Brad Neuberg wrote:
>> What should text/html flavor conformance checkers say about <foo />?
>> Silently treat as <foo>> as per SGML?
>> Silently treat as <foo> as per real world?
>> Report a warning?
>> Report an error?
>> What about <foo/>?
>> I am leaning towards reporting an error.
> Unfortunately, <foo /> is the real world way of "hacking" XHTML support 
> into IE, since IE will belch if you give <foo/>.  You also have to serve 
> it up as text/html for IE.....  You should probably transform it into 
> what people expect it in the real world, which is turning <foo /> into 
> <foo>.

That was my first though too, until Henri pointed out he was talking 
about conformance checkers and not about parsers.

  Anne van Kesteren
Received on Monday, 25 April 2005 13:00:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:40 UTC