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

Re: SD5 - Namespaces - New Version 2

From: Martin Bryan <mtbryan@sgml.u-net.com>
Date: Fri, 23 May 1997 12:20:15 +0100
Message-Id: <1.5.4.32.19970523112015.0069441c@mail.u-net.com>
To: Andrew Layman <andrewl@microsoft.com>, w3c-sgml-wg@w3.org
At 18:35 22/5/97 -0700, Andrew Layman wrote:

>Proposal: 
>
> The colon (":") character is now a legal character in names.
>
> A name containing a colon is to be interpreted as having two parts,
> where the part preceding the colon is the name of a namespace.
> That is, the namespace qualifies the element name.
>
> All names are interpreted as having qualification, but the
>qualification
> can be syntactically omitted when the name comes from the same
> space as the immediately enclosing element.
>
> Any element can have one or more foreign namespaces introduced to it.
> This is effected by a well-known subelement ("xml-namespace") which 
> refers to a namespace  by URI, and gives it a short name used for
>qualification. 
> Names used within  the element use the short name as their qualifier. 
> The short name serves to reference the full name of the namespace,
>which is the URI.
>

> The grove simply reproduces the element structure as though there were
>nothing
> special about the XML-NAMESPACE element or the qualified names. It is 
> processors of the grove who worry about interpreting the qualified
>names.

This works OK for browsing, but how do you build a validating DTD for 
your example document?
----
Martin Bryan, The SGML Centre, Churchdown, Glos. GL3 2PU, UK 
Phone/Fax: +44 1452 714029   WWW home page: http://www.sgml.u-net.com/
Received on Friday, 23 May 1997 07:20:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:26 UTC