W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

Context item, context position, context size

From: Jonathan Robie <jonathan.robie@datadirect.com>
Date: Tue, 10 Feb 2004 15:36:50 -0500
Message-ID: <402940E2.4040402@datadirect.com>
To: XML Query Comments <public-qt-comments@w3.org>

According to table C2, the context item, context position, and context 
size are all overwriteable by the implementation.  The context position 
"Must be consistent with context item and context size", and the context 
size "Must be consistent with context item".

I think we should clearly say that if there is no context item, the 
context position and context size are undefined. It is not reasonable to 
have no context item but set the context position to 42 and the context 
size to 43.

I think we should clearly say that if there is a context item, the 
context position and context size are 1. It is not meaningful to say 
that the single context item is in position 42 of some sequence to which 
the query has no access. (Obviously, the context item might have a 
position in a child sequence to which the query has access).

Jonathan
Received on Tuesday, 10 February 2004 15:39:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:57 UTC