W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

Re: XPath and XPointer

From: James Clark <jjc@jclark.com>
Date: Fri, 13 Aug 1999 19:34:55 +0700
Message-ID: <37B410EF.7ECF21F4@jclark.com>
To: Paul Prescod <paul@prescod.net>
CC: www-xpath-comments@w3.org, www-xml-linking-comments@w3.org, www-xml-linking-ig@w3.org
Paul Prescod wrote:

> Does XPath actually have provisions for creating new axes? 

No.

> The AxisName
> production is not extensible. It seems to me that XPointer should only
> extend XPath in ways that have been forseen in XPath.

I agree.
 
> If other axes are legal, is it legal for those axes to return object
> types (e.g. "range") that are not in the set of XPath data types:
> 
>  * node-set (an unordered collection of nodes without duplicates)
>  * boolean (true or false)
>  * number (a floating-point number)
>  * string (a sequence of UCS characters)

Even if extending the set of axes were legal, such axes would have to
return node-sets in order for the semantics well-defined.

(The range and string "axes" in XPointer should be functions not axes.)

James
Received on Friday, 13 August 1999 08:45:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT