Re: Help! Namespace muddle
Richard Tobin scribbled something along the lines of:
<snip/>[color=blue]
> To say that it is in the namespace "http://www.example.com " is
> misleading, since it is not the same attribute as x:baz, which is in
> that namespace, and it does not have "http://www.example.com " as its
> namespace name.[/color]
I've figured out where my misunderstandin g came from, but anyway...
So you're saying baz has no namespace, but it does have a reference to a
namespace via its containing element?
My problem is that I'm used to treating references as replacements and
not as pointers. So to my original understanding the attribute had the
namespace of its containg element because it inherited it. I see now why
this is wrong, although I don't see why this decision (that namespace
defaulting doesn't work with attributes) has been made in the design.
--
Alan Plum, WAD/WD, Mushroom Cloud Productions
Richard Tobin scribbled something along the lines of:
<snip/>[color=blue]
> To say that it is in the namespace "http://www.example.com " is
> misleading, since it is not the same attribute as x:baz, which is in
> that namespace, and it does not have "http://www.example.com " as its
> namespace name.[/color]
I've figured out where my misunderstandin g came from, but anyway...
So you're saying baz has no namespace, but it does have a reference to a
namespace via its containing element?
My problem is that I'm used to treating references as replacements and
not as pointers. So to my original understanding the attribute had the
namespace of its containg element because it inherited it. I see now why
this is wrong, although I don't see why this decision (that namespace
defaulting doesn't work with attributes) has been made in the design.
--
Alan Plum, WAD/WD, Mushroom Cloud Productions
Comment