Re: ISSUE-41/ACTION-97 decentralized-extensibility

On Fri, 2009-10-02 at 16:51 -0700, Maciej Stachowiak wrote:
> Representatives of browser implementors other than Microsoft  
> have expressed reluctance to support a mechanism similar to XML  
> namespaces in text/html syntax for philosophical and technical  
> reasons. In particular, there are concerns about the usability of  
> prefix-based indirection for authors, and about the wisdom of allowing
> unilateral extensions to the language in such a way that content using
> them is still conforming.

Perhaps the HTML5 specification could define the parsing of xmlns:*
attributes, and element and attribute names containing colons, and
represent them in the DOM in a namespaces-in-XML-like way, but declare
their use to be non-conforming.

´╗┐There is precedent for the HTML5 spec to define non-trivial parsing and
DOM representation requirements on non-conforming parts of the language:
<frameset> and <applet> for instance [1][2].

Then people can write "other applicable specifications" [3] which use
namespaces if they want to, safe in the knowledge that in user agents
which don't implement the applicable specification, it will at least be
parsed into the DOM properly. People using these other applicable
specifications would not be writing conforming HTML5, but might be
writing conforming, say, "HTML5+BeeKeepingML" or whatever.


Toby A Inkster

Received on Saturday, 3 October 2009 10:00:18 UTC