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

XPointer range-inside, and union of location sets

From: Matthew Wilson <matthew@mjwilson.demon.co.uk>
Date: Fri, 20 Oct 2000 18:18:58 +0100
Message-Id: <4.3.2.7.1.20001020181223.00b4be40@pop3.demon.co.uk>
To: www-xml-linking-comments@w3.org
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
Received on Friday, 20 October 2000 13:17:38 GMT

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