Lists Home |
Date Index |
- From: "Rick Jelliffe" <email@example.com>
- To: <firstname.lastname@example.org>
- Date: Fri, 3 Apr 1998 16:00:41 +1000
From: Tim Bray <email@example.com>
> The current namespace proposal adds one level of indirection to the names
> we give document components, and includes a technique for ensuring that
> the names are unique across the universe of the Internet. That's all!
I think Tim is correct in trying to limit people's perception of what the
proposal does. The basic requirement is, more or less, to have a declaration
which is as simple as possible, as non-intrusive as possible, and which
does not require explicit element or attribute declarations, which will
the RDF people to say "this element is one of our element types".
Whether there is, underlying this, some more interesting structure of links
derived from type names not instances (my belief), or an underlying
honeycomb of parallel, mutually augmenting schemas (the architectures
idea) should not be the deciding factor for the namespace proposal, to
me. I think it is enough that the namespace 1.0 be expressed in a way that
does not rule out an interpretation using either ot these mechanisms (or
others) is enough at this stage.
It was not Tim's point, but strictly I think the proposal adds two levels of
prefix->ns; then ns->schema
It is because of this indirection that the current proposal does not ensure
naming: there is a possibility of an error where two fragments using the
prefix are combined under the same namespace declaration. This is
an issue of maintenance: where a schema is updated, perhaps to make it have
a more restrictive content model.
So XML tools which combine fragments with namspaces will have to be able to
rewrite name prefixes. If there is
<?xml:namespace ns="rick" schema="rick-v2-3-1" ?>
<?xml:namespace ns="rick" schema="rick-v2-3-2 ?>
then the processing tool will have to be smart enough to, for example,
the second PI
<?xml:namespace ns="rick-a schema="rick-v2-3-2 ?>
and all the names which use this must be relabelled too in the instance.
I believe the net effect of this is that prefixes will begin off simple, and
more and more complex, more and more like partial schema URLs.
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)