W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

[F&O] 16 Context function: Empty context

From: Noe Michejda <noe_michejda@7thportal.pl>
Date: Sat, 1 Nov 2003 16:23:17 +0100
Message-ID: <002001c3a08c$153b0180$0201a8c0@a2>
To: <public-qt-comments@w3.org>

Definition for fn:context-item, fn:last, fn:position states:
'Returns the empty sequence if the context is the empty sequence'.

It should be rather 'if there is no context item' as in other parts of spec
Context *is* item and could not be empty.
Also there is no precise definition of term 'there is no context item'.

Definition of dynamic context states:
'If evaluation of an expression relies on some part of the dynamic context
that has not been assigned a value, a dynamic error is raised.'
but functions above 'relies' on context item to check if it is not defined
and aren't raising error, so it is not the case.

Regards,
Noe Michejda
7th Portal S.C.
Received on Saturday, 1 November 2003 10:30:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:03 GMT