|
[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
On Thu, Nov 21, 2013 at 5:34 PM, Stephen Cameron <steve.cameron.62@gmail.com> wrote:
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








