Next in thread → Next in month →

Re: [xml-dev] What is the correct terminology for an element and its namespace?

From
David Carlisle <>
To
"Costello, Roger L." <>
Date
2011-04-03T14:36:42Z
ID
<>
Thread
Re: [xml-dev] What is the correct terminology for an element and its 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.

David
Next in thread → Next in month →