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

Re: Change namespace of xml:id

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 08 Feb 2005 16:20:34 +0100
To: Norman Walsh <Norman.Walsh@Sun.COM>
Cc: public-xml-id@w3.org
Message-ID: <422cd7fc.233294390@smtp.bjoern.hoehrmann.de>

* Norman Walsh wrote:
>FWIW, I don't. There's a precedent for using xml: (xml:base, xml:lang,
>xml:space). There's no precedent (that I can think of) for taking advantage
>of the fact that XML reserves names beginning xml (except maybe
>xml-stylesheet).

xmlns.

>Except user expectations. I think users would find the unqualified
>attribute name "xmlid" more confusing than "xml:id".

Well, lots of authors consider

  x.setAttributeNS("http://www.w3.org/XML/1998/namespace", "id", ...)

more difficult than

  x.setAttributeNS(null, "xmlid", ...)

or

  x.setAttribute("xmlid", ...)

Evidence can easily be found on any forum that involves namespace
discussions.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 8 February 2005 15:21:04 UTC

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