[
Lists Home |
Date Index |
Thread Index
]
> From: Tim Bray [mailto:tbray@textuality.com]
<snip/>
> It's not, but this is probably a bug BTW. You can "undeclare" the
> default namespace like so:
>
> <root xmlns="foo" >
> <child xmlns="" />
> </root>
>
> so why shouldn't you be able to undeclare other prefixes, e.g.
>
> <root xmlns:foo="bar" >
> <child xmlns:foo="" />
> </root>
I never thought this was a bug. It seems logical, to me. There is no way to
include an element with no namespace if a default namespace is in scope,
unless you undeclare the default namespace. A namespace mapped to a prefix
poses no such impediment, though. The current formulation seems reasonable
to me.
|