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

RE: [F&O] 16 Context function: Empty context

From: Kay, Michael <Michael.Kay@softwareag.com>
Date: Sun, 2 Nov 2003 17:16:56 +0100
Message-ID: <DFF2AC9E3583D511A21F0008C7E62106073DD25B@daemsg02.software-ag.de>
To: Noe Michejda <noe_michejda@7thportal.pl>, public-qt-comments@w3.org
I think this problem has been fixed (or at least, greatly improved) in the
next version to be published.

Michael Kay

> -----Original Message-----
> From: Noe Michejda [mailto:noe_michejda@7thportal.pl] 
> Sent: 01 November 2003 15:31
> To: public-qt-comments@w3.org
> Subject: [F&O] 16 Context function: Empty context
> 
> 
> 
> 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 Sunday, 2 November 2003 11:17:50 GMT

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