[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?
- From: David Carlisle <davidc@nag.co.uk>
- To: "Costello, Roger L." <costello@mitre.org>
- Date: Sun, 03 Apr 2011 15:36:42 +0100
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]