OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] How to design XML to have broad utility and yet alsoenable efficient application processing?

On Thu, Nov 21, 2013 at 5:34 PM, Stephen Cameron <steve.cameron.62@gmail.com> wrote:
Hi Uche

"we're so used to people not getting namespaces right that we hardly even notice any more"

Some simple examples would be much appreciated, for my education.

Examples of what people get wrong about namespaces? Oh murder, where to begin?!

Thinking unprefix articles share their parents' namespaces

Thinking namespaces can be used for operational identification (i.e. under rules of RFC 2396 or RFC 3986)

Thinking the XML Base URI (i.e. from Infoset) has anything to do with namespace

Thinking that elements in namespaces are easily moved around in document syntax (this one is pretty false unless the user has gone with "sane" or "normal" namespaces rules according to the Joe English definition. It is utterly, desperately, egregiously false if QNames are used in content)

Thinking you can switch to Jams Clark notation early in processing to escape some of the weirder bits of namespaces (again QNames in content defeats this idea)

Thinking in processing tools such as XSLT that you can safely use the unprefixed form to designate an element in default namespace

I could go on.

I wrote this article:


back when I still harbored some hope that people could be taught to use namespaces without at least the most pernicious faults. I've long given up home on that idea.

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]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS