Ranges with multiple end points in XPointer WD

Michael Dyck pointed out to me that Section 5.4.1, range-to Function,
does not seem to me to clearly define what happens if the location-set
argument contains multiple nodes/locations. 

          location-set range-to(location-set )

 For each location in the context, range-to returns a range. The start
of the range is the start-point of the context location, and the end of
the range is the end-point of the location found by evaluating the
expression argument with respect to that context location.


This all assumes that location-set contains exactly one node. What if it
contains zero nodes? or 17 nodes? are multiple ranges returned for each
start point? Or is this in error? Michael told me that this was an
error, but I don't see any language in the spec that indicates that. A
clarification of the intent in the spec would be appreciated. 


-- 
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+ 
|         XML in a Nutshell (O'Reilly & Associates, 2001)            |
|              http://www.ibiblio.org/xml/books/xian/                |
|   http://www.amazon.com/exec/obidos/ISBN=0596000588/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://metalab.unc.edu/javafaq/ | 
|  Read Cafe con Leche for XML News: http://metalab.unc.edu/xml/     |
+----------------------------------+---------------------------------+

Received on Thursday, 5 April 2001 13:50:23 UTC