W3C home > Mailing lists > Public > www-xml-linking-comments@w3.org > July to September 2000

Formal syntax of XPointer

From: Christopher R. Maden <crism@lexica.net>
Date: Thu, 14 Sep 2000 03:26:42 -0700
Message-Id: <4.3.2.7.0.20000914031408.00af1ec0@mail.lexica.net>
To: w3c-xml-linking-ig@w3.org, www-xml-linking-comments@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:41 GMT