Formal syntax of XPointer

XPointer modifies the XPath grammar to have

NodeType ::= 'comment'
              | 'text'
              | 'processing-instruction'
              | 'node'
              | 'point'
              | 'range'

However, it does not change the NodeTest definition:

[7] NodeTest ::= NameTest
                  | NodeType '(' ')'
                  | 'processing-instruction' '(' Literal ')'

So as far as I can tell, point() is legal, but there's really no way of 
saying *which* point you want to refer to.  There's start-point() and 
end-point(), but given that a point is defined as a container node and an 
index, I can't see a way to actually specify an index.  What am I missing?

(Additionally, some of the links refer to the XPath PR, but I believe that 
that's already been noted.)

-Chris
--
Christopher R. Maden, Senior XML Analyst, Lexica LLC
222 Kearny St., Ste. 202, San Francisco, CA 94108-4510
+1.415.901.3631 tel./+1.415.477.3619 fax
<URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>

Received on Thursday, 14 September 2000 06:29:52 UTC