From:  Jonathan Watt <jwatt@jwatt.org>
Date:  20 Nov 2009 18:21:59 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.xml
Subject:  

A new, simpler namespace mechanism

NNTP-Posting-Host:  94.209.103.175

One of the complaints about XML namespaces that I agree with is that they are a
pain to write, and easy to get wrong. What if things were as simple as this:


  
    
      
    
  


The double colon "::" would be different to the single colon in that it would be
sticky - descendants would be put into the same namespace without the need to
prefix them too.

The W3C would maintain a registry of *default* namespace prefix bindings, kind
of like how there's a registry of content-types now.

No need to specify an (the "xmlns") attribute - it's much easier to write a
prefix, and much much easier to remember a simple prefix than a dated URI.

No need to prefix the closing  tag (what's the point?).

Any existing XML content that binds a prefix to a namespace other than W3C's
default would continue to work in new parsers, since their binding declarations
would override the W3C's defaults.

Jonathan