Re: [xml-dev] Lessons learned from the XML experiment

From
Uche Ogbuji <>
To
Pete Cordell <>
Date
2013-11-14T15:36:03Z
ID
<CAPJCua1ugxSn=ZBkvNrrs=bb47kYRpJqSaM4JqkSHrssHgp=>
Thread
Re: [xml-dev] Lessons learned from the XML experiment
On Thu, Nov 14, 2013 at 8:31 AM, Pete Cordell <[email protected]> wrote:
It's ironic that the design of associating a namespace with every element meant that you didn't have to drag context information from parent nodes (as would be required in Michael's example below), but the implementation using prefixes meant that you have to drag context information from parent nodes!

Well yes. Even though making URIs an intrinsic part of names was a mistake in XML Namespaces, it wasn't the biggest mistake. The biggest mistake was the hierarchical scoping mechanism that spawned prefixes, and thus the ultimate evil of QNames in content.


--
Uche Ogbuji                                       http://uche.ogbuji.net
Founding Partner, Zepheira                  http://zepheira.com
Author, Ndewo, Colorado                     http://uche.ogbuji.net/ndewo/
Founding editor, Kin Poetry Journal      http://wearekin.org
Editor & Contributor, TNB     http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net    http://www.linkedin.com/in/ucheogbuji    http://twitter.com/uogbuji