Last Updated: $Date: 2004/04/28 07:42:21 $
| 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 recognized | 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 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, but inline style (incorrectly) worked | recognized as XML, XHTML-specific semantics were not recognized, but inline style (incorrectly) worked |
| 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 |