Re: Is a namespace a set?
One way to look at this is that it is irrelevant. Except for the sentence you quote, the namespaces spec talks only about mapping prefixes to URIs. The result of this mapping is a two-part naming system for XML names that allows the creation of unique identifiers. A "namespace" is simply the set of all names that share the same URI. This is not really relevant to the implementation or use of the naming system. For more discussion, see the following, especially myth #1: http://www.xml.com/pub/2000/03/08/namespaces/index.html -- Ron Klaus Backert wrote: > > Hi, > > several contributors to this list said, that a namespace is a set. > > In http://www.w3.org/TR/1999/REC-xml-names-19990114 the first definition > states: > [Definition:] An XML namespace is a collection of names ... XML namespaces > differ from the "namespaces" conventionally used in computing disciplines in > that the XML version has internal structure and is not, mathematically > speaking, a set ... > > I would appreciate an explanation very much, because I want to learn more > about namespaces - and not only to follow the rather confusing RDDL-thread > ;-) Is a namespace a set or not? Does it depend? Does it matter?
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