Re: XML namespaces on the Web

Lachlan Hunt scripsit:

> This would have the unfortunate side effect of causing existing XML 1.0 
> parsers encountering <?xml parse="lax"?> to throw a well-formedness 
> error, thus losing all the benefits of backwards compatibility that the 
> original XML5 proposal has.

That's a good side effect.  It tells the XML 1.x parser right up front
that it should reject this document.

> No, the parsing algorithm should be determined at parse time depending 
> on the needs of the application.  A web browser, for example, would 
> typically always want to use graceful error recovery for web content, 
> like XHTML, SVG, etc.

Nothing prevents browsers from doing so today.  Why don't they?

-- 
Winter:  MIT,                                   John Cowan
Keio, INRIA,                                    cowan@ccil.org
Issue lots of Drafts.                           http://www.ccil.org/~cowan
So much more to understand!
Might simplicity return?                        (A "tanka", or extended haiku)

Received on Tuesday, 17 November 2009 18:40:47 UTC