Do tumblers start at 0 or 1

The XPointer spec doesn't seem to specify whether the first child of an
element is /0 or /1? Since the grammar allows /0 I'm inclined to suspect
counting starts at 0, but it could simply be a case of a less prescriptive
grammar than is possible. Can anyone clarify?

If it is supposed to start at 1, I'd suggest chyanging the Tumbler
production as follows:

Tumbler ::= ( '/' [1-9][0-9]* )+


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|               Java I/O (O'Reilly & Associates, 1999)               |
|            http://metalab.unc.edu/javafaq/books/javaio/            |
|   http://www.amazon.com/exec/obidos/ISBN=1565924851/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 Sunday, 1 August 1999 12:29:42 UTC