Re: XML namespaces on the Web

On Tue, Nov 17, 2009 at 01:43:12PM -0500, Boris Zbarsky wrote:
> On 11/17/09 1:40 PM, John Cowan wrote:
>> Nothing prevents browsers from doing so today.
>
> The XML spec does, last I checked...

As John Cowan has said, that's not actually true.

To amplify a little... the XML Spec says (in essence)
that software that takes something (anything at all)
that is not well-formed XML, can turn it into XML, but,
if it does, it must not claim that the original input
was XML.

If a document is not well-formed, the XML specification
does not apply to it - it's not XML.

If a Web browser makes an XML DOM, however, it must find
a way to mark the DOM so that an application (and the
browser internals) can tell the input wasn't XML.

Liam

-- 
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/

Received on Tuesday, 17 November 2009 18:56:48 UTC