Re: Namespace Comments (and dtd encoding)

James Clark (jjc@jclark.com)
Thu, 06 Aug 1998 17:26:50 +0700


MURATA Makoto wrote:

> Because we cannot replace
>
> <foo:A xmlns:foo="[first URI]" xmlns:bar="[second URI]" >
> <foo:B />
> <foo:C />
> <bar:D />
> </foo:A>
>
> with something like
>
> <foo:A xmlns:foo="[first URI]" xmlns:bar="[second URI]" >
> <:B />
> <:C />
> <bar:D />
> </foo:A>
>
> This is what I meant by inheritance of prefixes, and it does not exist
> in the current working draft.

Given that I can replace your example with

<A xmlns="[first URI]" xmlns:bar="[second URI]" >
<B />
<C />
<bar:D />
</A>

I'm having a hard time understanding why I would want the sort of prefix
inheritance you are talking about.

James