Last Updated: $Date: 2003/10/07 04:27:51 $
media type | text/html | application/xhtml+xml | text/xml | application/xml |
---|---|---|---|---|
xml-stylesheet PI and link | recognized as (X)HTML | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively |
link only | recognized as (X)HTML | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively |
xml-stylesheet PI only | recognized as (X)HTML, xml-stylesheet PI was not recognized | recognized as (X)HTML, xml-stylesheet PI was not recognized | recognized as (X)HTML, xml-stylesheet PI was not recognized | recognized as (X)HTML, xml-stylesheet PI was not recognized |
without xmlns | recognized as (X)HTML | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively |
without DOCTYPE | recognized as (X)HTML | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XHTML, but the type selector in style sheets matched case-insensitively |
without DOCTYPE and xmlns | recognized as (X)HTML | recognized as XHTML, but the type selector in style sheets matched case-insensitively | recognized as XML, XHTML-specific semantics were not recognized | recognized as XML, XHTML-specific semantics were not recognized |
Broken XHTML | well-formedness error was detected, asked whether to reload as HTML or show parsing errors | well-formedness error was detected, asked whether to reload as HTML or show parsing errors | well-formedness error was detected, asked whether to reload as HTML or show parsing errors | well-formedness error was detected, asked whether to reload as HTML or show parsing errors |
HTML 4 | recognized as HTML | failed correctly | failed correctly | failed correctly |