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

  • From: Uche Ogbuji <uche@o...>
  • Date: Thu, 14 Nov 2013 09:04:11 -0700

On Thu, Nov 14, 2013 at 8:59 AM, Hans-Juergen Rennau <hrennau@y...> wrote:
To achieve global uniqueness, short strings won't do. Very long strings are out of the question as element names.

And so you somehow believe that one short string plus one longish string magically confers global uniqueness?

 
So you have the choice of not-too-long identifiers which do not uniquely identify a vocabulary, or long identifiers (URIs) for which a mapping to a short placeholder is required. Namespace attributes keep this mapping cleanly apart from anything else. Would you seriously prefer to shift the mapping into the element names?

If you need annotations, you have many options, in band (e.g. attributes) or out of band (e.g. registries). I use what works best for each situation, and that's pretty much never XML Namespaces.


--
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