[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How to design XML to have broad utility and yet alsoenable

  • From: Uche Ogbuji <uche@ogbuji.net>
  • Date: Thu, 21 Nov 2013 18:33:16 -0700

Re:  How to design XML to have broad utility and yet alsoenable
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.