W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2000

Re: QName and default namespace

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 17 Oct 2000 10:11:18 +0100
To: James Clark <jjc@jclark.com>
Cc: XML Schema Comments <www-xml-schema-comments@w3.org>
Message-ID: <f5bzok3j0i1.fsf@cogsci.ed.ac.uk>
James Clark <jjc@jclark.com> writes:

> The Namespaces Rec specifies two ways in which QNames can be
> interpreted, which differ in how a QName without a prefix are expanded:
> A. For element type names, a prefix-less QName is expanded to have the
> namespace name of the default namespace if there is one, and a null
> namespace name otherwise
> B. For attribute names, a prefix-less QName is always expanded to have a
> null namespace name.

Part 1 makes it clear that we take approach (A).  I have to say I find 
the fact that XSLT has taken (B) to be the single most inconvenient
aspect of the language, and we've had no other requests to support
this behaviour.

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Tuesday, 17 October 2000 05:11:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:49:53 UTC