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

Re: RDDL: new natures

  • From: Elliotte Harold <elharo@m...>
  • To: Jonathan Borden <jonathan@o...>
  • Date: Sun, 10 Dec 2006 09:58:27 -0500

Re: RDDL: new natures
Jonathan Borden wrote:

> A class has a (i.e. one) set or group of members. If a namespace URI 
> identifies a class then what is the set of members:
> 
> a) the set of names in the namespace (for example)
> b) the set of documents that validate to a given schema (for example)

I don't buy it. First of all I don't think a namespace URI identifies 
the set of names in a namespace. That's simply not how namespace URIs 
are used. I've heard people assert that principle, but attempting to 
follow that idea leads them down a maze of twisty little passages, all 
different.

In an XML document, a namespace URI identifies a local name as belonging 
to a particular namespace. That's a subtly different thing, but the 
difference is important. There is no one unique, fixed set of names in a 
namespace to be identified; and working from the assumption that there 
is leads to brittle software.

Secondly, I don't think it matters if we use the namespace URI in 
clearly different contexts for different results. A URI in an xmlns 
attribute means one thing. The same URI typed into a browser's location 
bar means something else. And the same URI in a rddl:resource attribute 
is something else still. This bothers me not at all. I see no ambiguity 
or confusion. In fact, quite the opposite. Using the same strings in 
these different contexts indicates that there is a connection between them.

-- 
Elliotte Rusty Harold  elharo@m...
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


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