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

Re: XPointer range-inside, and union of location sets

From: Eve L. Maler <eve.maler@east.sun.com>
Date: Wed, 08 Nov 2000 18:00:18 -0500
Message-Id: <5.0.0.25.2.20001108175947.02462070@abnaki.east.sun.com>
To: Matthew Wilson <matthew@mjwilson.demon.co.uk>
Cc: www-xml-linking-comments@w3.org
Hello Matthew-- Thanks for your comments.  We'll make sure to discuss this.

         Eve

At 06:18 PM 10/20/00 +0100, Matthew Wilson wrote:
>I have some questions about XPointer; apologies if they've been asked before.
>
>In 5.4.3, in the definition of the range-inside function, there is:
>
>"If x is not a range location, then x is used as the container location of 
>the start and end points of the range location to be added; the index of 
>the start point of the range is zero; if the end point is a character 
>point then its index is the length of the string-value of x, and otherwise 
>is the number of location children of x."
>
>This refers to the "container location" of points; however points are 
>defined in terms of "container nodes", and the term "container location" 
>is not used elsewhere. This seems odd. (Specifically, what is added to the 
>result location-set when the input location set contains a point? 
>Presumably, a collapsed range containing the point, but can this be 
>deduced from the spec?)
>
>Secondly, it seems logical that XPath operators such as | on nodesets 
>extend to location sets in XPointer, however I see no explicit statement 
>of this in the spec.
>
>Matthew Wilson

--
Eve Maler                                          +1 781 442 3190
Sun Microsystems XML Technology Center    eve.maler @ east.sun.com
Received on Wednesday, 8 November 2000 17:59:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:41 GMT