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

XML Namespaces 1.1

  • From: Rick Yorgason <rick@firefang.com>
  • To: xml-dev@lists.xml.org
  • Date: Tue, 24 May 2011 22:34:51 -0400

XML Namespaces 1.1
Hi everyone,

I have to say that I love catching up on all the discussions on XML 
reform that this list seems to host semi-annually (that's only half 
sarcastic: as a programmer, I get way more entertainment than I should 
from day dreaming about how things can be re-engineered to be cleaner) 
but it always frustrates me that none of this stuff ever gets acted 
upon, when even the smallest feature could improve our lives a lot.

Case in point: there's almost universal acceptance that XML namespaces 
are a problem, because recommending URIs as namespaces was a mistake, 
and because there's no way to refer to a namespaced entity name without 
xmlns syntax.

Now, people have come up with some great proposals that would vastly 
improve namespaces, but in reality, we can fix 90% of the problems with 
just one new rule and one suggestion:

* If a prefix doesn't match a declared xmlns (formerly ill-formed) it 
shall be shorthand for including an xmlns="prefix" attribute.
* Namespaces should be in reversed DNS form.

With those two changes, namespaces are no longer awkward to use, no 
longer difficult to teach, and the cost of adoption for existing 
libraries is approximately three lines of code.  So what do we have to 
do to get a new "Namespaces in XML" standard published with these 
minimal changes?

Cheers,

-Rick-


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