[Bug 4476] Auto-Detect fallback document type based on root element


------- Comment #7 from ot@w3.org  2007-05-07 19:27 -------
Some recent improvements to the handling of XML documents have made this case
less acute:


The example:
* is served with an XML mime type
* does not have an <html> root element
=> and is therefore marked as being well-formed XML

The idea of falling back to an SVG doctype based on svg root element still

Note that in the case of direct input, sending something like:
<svg xmlns="http://www.w3.org/2000/svg"/>
 the validator will remain confused, for lack of a good way (i.e mediat type)
to know if the document is XML.

Received on Monday, 7 May 2007 19:27:22 UTC