Re: QName and default namespace

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.

ht
-- 
  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