Namespace Comments (and dtd encoding)

James Clark jjc at
Thu Aug 6 12:41:04 BST 1998

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

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


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