Namespace Comments (and dtd encoding)

MURATA Makoto murata at apsdc.ksp.fujixerox.co.jp
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 />
</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 at apsdc.ksp.fujixerox.co.jp

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