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

From
Uche Ogbuji <>
Date
2013-11-14T16:04:11Z
ID
<CAPJCua3jKfbag+W5EdJ3a+QzJ-H3btvHipXK+rce9==>
Thread
Re: [xml-dev] Lessons learned from the XML experiment
On Thu, Nov 14, 2013 at 8:59 AM, Hans-Juergen Rennau <[email protected]> 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