W3C home > Mailing lists > Public > public-xml-id@w3.org > February 2005

Re: Change namespace of xml:id

From: Chris Lilley <chris@w3.org>
Date: Tue, 8 Feb 2005 21:59:52 +1100
Message-ID: <971366799.20050208215952@w3.org>
To: "John Boyer" <JBoyer@PureEdge.com>
Cc: "Bjoern Hoehrmann" <derhoermi@gmx.net>, public-xml-id@w3.org

On Tuesday, February 8, 2005, 12:32:29 PM, John wrote:

JB> Yes, I agree that changing the prefix is appropriate
JB> because the xml prefix itself is already bound to 
JB> a URI that is associated with a particular set of names.

JB> Although namespace *prefixes* beginning with xml are
JB> reserved for use by XML and XML-related applications, 
JB> XML-related specs must still respect the fact that
JB> a namespace associates a URI with a collection of names.
JB> If one wants to change the collection of names, then one
JB> must change the URI.

One can, but one need not. There are examples of both types of change

The change policy for the XML namespace has already ben demonstrated,
for example when xml:base was added to it.

The meaning of 'reserved' is fairly clear. Another specification (such
as XML canonicalization) should not be making assumptions about future
registrations into the XMl namespace, since that namespace is reserved.

JB> Or, more appropriately, use Bert's suggestion of the
JB> prefix xmlid, which would then be bound to a *different*
JB> URI than the one associated with XML 1.0.

JB> Thanks for the link!
JB> John Boyer

JB> -----Original Message-----
JB> From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]
JB> Sent: Monday, February 07, 2005 3:47 PM
JB> To: John Boyer
JB> Cc: public-xml-id@w3.org
JB> Subject: Re: Change namespace of xml:id

JB> * John Boyer wrote:
>>Just in case it doesn't get noticed in the XML Signatures conversation,
>>I'm recommending that you change xml:id to another namespace
>>because adding it to the xml namespace does an end-run around
>>the purpose of a namespace that happens, in this case, to break
>>something.  Notably, canonicalization.

JB> In http://www.w3.org/mid/16178.32403.534822.783054@lanalana.inria.fr
JB> Bert Bos proposed "xmlid" which is indeed reasonable as all attribute
JB> names starting with "xml" are reserved. The Working Group unfortunately
JB> refused to formally address comments on the requirements document.
JB> There were other important requests aswell, e.g., Gustaf Liljegren in
JB> http://www.w3.org/mid/
JB> arguing for numeric id values which are popular xml:id values indeed,
JB> http://www.nntp.perl.org/rss/perl.i18n.rdf uses them for example.

 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Tuesday, 8 February 2005 10:59:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:49 UTC