Re: Namespace Comments (and dtd encoding)

MURATA Makoto (murata@apsdc.ksp.fujixerox.co.jp)
Thu, 06 Aug 1998 19:30:35 +0900


Ron Bourret wrote:
> As far as I know, the xmlns attribute is inherited -- this is certainly implied
> by the first example in section 5 of the namespace spec. (Murata Makoto also
> implies in a separate message that the prefix is not inherited. Why?)

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.

Makoto

Fuji Xerox Information Systems

Tel: +81-44-812-7230 Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp