XML Namespace

james anderson James.Anderson at mecomnet.de
Mon Aug 31 19:48:53 BST 1998


Tim Bray wrote:
> 
> ...
> 
> The namespace draft clearly forbids mapping one namespace to two
> different prefixes.  So in the instance, you'd probably have to
> change the ns:x to ns_2:x or something.  Which meant that if you
> wanted to validate it against b.dtd, you'd have to change it
> in b.dtd as well.

If this is intended, then the draft might express the constraint more clearly.

It also would appear to work counter to the modularity goal, that distinct
processes be able to augment a document without knowledge of the prefixes used
by other processes. It's just the flip-side of different URI's bound to the
same prefix: if the URI's already have registered prefixes in order that the
application can pick the uniquely correct one, then the registry can constrain
the prefixes to avoid collisions.

If you intended to say, that two distinct prefixes may not be simultaneously
associated with a given URI, that's a slightly different story, but it has the
same ending.

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