W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > June 1997

Re: thoughts on namespaces

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Fri, 20 Jun 1997 09:38:49 +0100
Message-Id: <1.5.4.32.19970620083849.006a2e74@mail.u-net.com>
To: w3c-sgml-wg@w3.org
At 10:56 19/6/97 -0500, Paul Grosso wrote:
2,.  by using archforms, you have no way to allow different names in
>    a start tag to come from different namespaces;
>
I agree with everything Paul so succinctly said in his posting on the
difference between the namespace for the current element, and the namespace
of its contents, except the above. The whole point about architectural forms
is to allow you to say "these attributes specify the rules that are to be
applied from semantic specification X whilst those attributes are to be
processed using semantic assignment Y". This is why they are suitable for
multiple inheritence, and why you don't want to assign the semantic
controller as a single namespace identifier on the GI for the general
purpose case. However, having said that, for Version 1.0 of the XML spec I
would be happy to use the following rules:

a) If namespaces are used a notation declaration must be specified in the
internal subset for each name space used. The notation declaration must
point to a URL whose contents show how to process data conforming to that
notation.*

* Alternatively the URL could be required to point to the DTD for that
structure, but I'm not sure that XML developers would be too happy with such
a form of indirected reference to an included DTD - though it would suit me
fine.

b) Element type names may be prefixed by the name of the notation that
identifies the rules for their interpretation rules, and must be separted
from the element name by "::". Only one such name can apply to any GI.

c) An XML-content-namespace (XMLspace) attribute may be added to any element
to indicate the name space to be assigned to all elements in the content for
which no specific namespace prefix has been specified.
----
Martin Bryan, 29 Oldbury Orchard, Churchdown, Glos. GL3 2PU, UK 
Phone/Fax: +44 1452 714029  E-mail: mtbryan@sgml.u-net.com 
For details about The SGML Centre contact http://www.sgml.u-net.com/
For details about the Open Information Interchange initiative contact
http://www.echo.lu/oii/home.html
Received on Friday, 20 June 1997 04:40:31 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:04:43 EDT