OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] What is the correct terminology for an element andits namespace?

On 03/04/2011 15:05, Costello, Roger L. wrote:

> I often hear people say things like this:
> The Publisher element is in the http://www.book.org namespace
> I certainly understand what that is trying to say, but I suspect that
> if one wishes to use correct/precise terminology then it is
> unacceptable.

why is it unacceptable? It's (one of the) the terminologies the 
namespace spec uses, for example in section 2.1 basic concepts:
...For a name N in a namespace .....

 > it wasn't clear. Is this a correct/precise statement:
 >     The element's local name, "Publisher", is bound to the >
http://www.book.org namespace

since a namespace is (presumably) a space (set) of names, it makes more 
sense to talk of names being in the namespace than bound to it.
certainly neither the namespace spec nor xpath ever phrase thigs in that 
way. The prefix on the other hand isn't in the namespace but just 
associated (bound) to it in each instance document.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS