Last Updated: $Date: 2005/03/04 20:13:36 $
media type | text/html | application/xhtml+xml | text/xml | application/xml |
---|---|---|---|---|
xml-stylesheet PI and link | recognized as HTML | recognized as XHTML | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively |
link only | recognized as HTML | recognized as XHTML | recognized as XML, linked style sheet was not recognized and document tree was rendered | recognized as XML, linked style sheet was not recognized and document tree was rendered |
xml-stylesheet PI only | recognized as HTML, xml-stylesheet PI was not recognized | recognized as XHTML | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively |
without xmlns | recognized as HTML | recognized as XML, XHTML-specific semantics were not recognized | recognized as XML, parsing failed due to the omitted xmlns declaration | recognized as XML, parsing failed due to the omitted xmlns declaration |
without DOCTYPE | recognized as HTML | recognized as XHTML | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively |
without DOCTYPE and xmlns | recognized as HTML | recognized as XML, XHTML-specific semantics were not recognized | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively and inline style (incorrectly) worked | recognized as XML, XHTML-specific semantics were not recognized but the type selector in style sheets matched case-insensitively and inline style (incorrectly) worked |
Broken XHTML | recognized as HTML, well-formedness error was not detected | failed correctly | showed blank page | showed blank page |
HTML 4 | recognized as HTML | failed correctly | failed correctly while parsing the DTD | failed correctly while parsing the DTD |