|
|
http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/
Just seen Bug MDL-7861 - I've been looking at something similar, initially for debugging. In DEBUG_DEVELOPER mode this patch delivers pages as the preferred 'application/xhtml+xml' mime-type to supporting browsers (Firefox, Opera, iCab... Safari issue with character entities, http://www.w3.org/2000/07/8378/xhtml/entities) and 'application/xml' for Win-IE 5+ ( http://www.w3.org/MarkUp/2004/xhtml-faq#ie). Other browsers get 'text/html'.
An XML well-formed bug (stray &, unquoted attributes...) leads to an XHTML browser displaying an error message in place of the page, which should be useful for developers. (Note, an on/off switch may be useful to aid diagnosis.)
The patch also substitutes the XHTML Strict document-type declaration in DEBUG_NORMAL mode - note, error messages aren't displayed in the browser, a 3rd party validator is required.
|
|
Description
|
http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/
Just seen Bug MDL-7861 - I've been looking at something similar, initially for debugging. In DEBUG_DEVELOPER mode this patch delivers pages as the preferred 'application/xhtml+xml' mime-type to supporting browsers (Firefox, Opera, iCab... Safari issue with character entities, http://www.w3.org/2000/07/8378/xhtml/entities) and 'application/xml' for Win-IE 5+ ( http://www.w3.org/MarkUp/2004/xhtml-faq#ie). Other browsers get 'text/html'.
An XML well-formed bug (stray &, unquoted attributes...) leads to an XHTML browser displaying an error message in place of the page, which should be useful for developers. (Note, an on/off switch may be useful to aid diagnosis.)
The patch also substitutes the XHTML Strict document-type declaration in DEBUG_NORMAL mode - note, error messages aren't displayed in the browser, a 3rd party validator is required. |
Show » |
made changes - 11/Dec/06 06:55 PM
| Field |
Original Value |
New Value |
|
Link
|
|
This issue has been marked as being related by MDL-7861
[ MDL-7861
]
|
made changes - 11/Dec/06 07:33 PM
|
Link
|
|
This issue will help resolve MDL-7884
[ MDL-7884
]
|
made changes - 12/Dec/06 03:31 PM
|
Assignee
|
Nick Freear
[ nfreear
]
|
Martin Dougiamas
[ dougiamas
]
|
made changes - 12/Dec/06 03:31 PM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|