XPointer range-inside, and union of location sets

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 UTC