Namespace Comments (and dtd encoding)

MURATA Makoto murata at
Thu Aug 6 12:27:13 BST 1998

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 />

with something like

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

This is what I meant by inheritance of prefixes, and it does not exist 
in the current working draft.

Fuji Xerox Information Systems
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list