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

RE: Lesson Learned: Use namespaces for both markup and data

  • From: Michael Kay <mike@saxonica.com>
  • To: 'Kurt Cagle' <kurt.cagle@gmail.com>, 'Uche Ogbuji' <uche@o...>
  • Date: Sun, 09 Aug 2009 20:09:41 +0100

RE:  Lesson Learned: Use namespaces for both markup and data

 > Here is a short article I wrote describing the lesson I learned about the importance of using namespaces for both markup and data:

 >  http://www.xfront.com/namespaces-is-for-markup-and-data/


 >  Your comments are welcome. 
 
If the objects you are referencing are identified by QNames (as XSD types are), then you should certainly use QNames when referring to them.
 
But that doesn't mean all objects should be identified by QNames.
 
QNames can be useful identifiers where you want distributed naming authorities: you can use the namespace to represent the naming authority, each of which can allocate as many local names as they like. But there's a weakness, which is that the delegation only goes one level deep: you can't have a hierarchy of naming authorities.
 
The conventional wisdom in the RDF community seems to be that all objects should be identified by URIs. That's sometimes appropriate, but I'm not a great fan of that either. Most of the time "real world" identifiers (country names, ISO country codes, national insurance numbers etc) work just fine.
 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay

 


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