[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! 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
|