- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Mon, 25 Apr 2005 22:00:32 +0200
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 <http://annevankesteren.nl/>
Received on Monday, 25 April 2005 13:00:32 UTC