[whatwg] text/html flavor conformance checkers and <foo />
Ian Hickson
ian at hixie.ch
Fri Feb 24 15:42:02 PST 2006
On Mon, 25 Apr 2005, Henri Sivonen 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.
Both would be treated as <foo>, and would report with a parse error
(unexpected character "/" during attribute tokenisation in the first
case, and during tagname tokenisation in the second).
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list