[Home] [By Thread] [By Date] [Recent Entries]

  • From: Uche Ogbuji <uche@o...>
  • To: Pete Cordell <petexmldev@c...>
  • Date: Thu, 14 Nov 2013 08:36:03 -0700

On Thu, Nov 14, 2013 at 8:31 AM, Pete Cordell <petexmldev@c...> 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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member