W3C home > Mailing lists > Public > www-xpath-comments@w3.org > January to March 2001

Re: Identity constraints and default namespace

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 22 Jan 2001 09:36:53 +0000
To: James Clark <jjc@jclark.com>
Cc: XML Schema Comments <www-xml-schema-comments@w3.org>, www-xpath-comments@w3.org
Message-ID: <f5by9w4apxm.fsf@cogsci.ed.ac.uk>
James Clark <jjc@jclark.com> writes:

> In the schema for schemas I see things like
> 
>            <key name="group">
>             <selector xpath="group"/>
>             <field xpath="@name"/>
>            </key>
> 
> The XPath expression "group" will select child elements whose local name
> is "group" and whose namespace URI is absent.  Yet the intention here
> seems to be that it select elements whose namespace URI is the default
> namespace in scope on the selector element.

Thanks for reminding me -- I should use explicit prefixes to avoid
potential confusion.

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 Monday, 22 January 2001 04:36:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:20 UTC