5.4.2 string-range()

The string-range() function is underspecified in several ways in the 
XPointer CR. First of all, it is unclear what happens when there are 
overlapping matches; e.g. I try to match "ABA" in the string 
"ABABABABABABA". The spec says, "Each non-overlapping match can 
contribute a range to the resulting location set. " It doe snot says 
that each non-overlapping range *does* contribute a range to the 
resulting location set. Furthermore it does not say that overlapping 
ranges do not contribute such ranges. Finally, given a group of 
overlapping matches it does not provide any hints as to how to select 
the correct matches.



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

Received on Thursday, 1 November 2001 04:50:58 UTC