Namespace Comments (and dtd encoding)

James Clark jjc at jclark.com
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 />
</A>

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

James

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




More information about the Xml-dev mailing list