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

[XPath] IBM-XP-106: Value of current date and time across multiple XPath expressions

From: Henry Zongaro <zongaro@ca.ibm.com>
Date: Sun, 15 Feb 2004 13:31:10 -0500
To: public-qt-comments@w3.org
Message-ID: <OF1380C856.A2CD6EBA-ON85256E3B.005EE678-85256E3B.0065BA59@ca.ibm.com>

[Speaking on behalf of reviewers from IBM, not just personally.]

Section 2.1.2

The definition of the "Current date and time" component states, "If 
invoked multiple times during the execution of a query or transformation, 
[fn:current-date, fn:current-time, and fn:current-dateTime ] always return 
the same result."

XPath should only impose this requirement for a single expression.  It is 
up to the host language to impose this sort of requirement across multiple 
expressions (like a transformation in XSLT).

In addition, section C.2 indicates that the scope of "Current date and 
time" is "global", which "indicates that the value of the component 
remains constant throughout the XPath expression."  That contradicts the 
statement quoted in 2.1.2.  2.1.2 should be changed to be consistent with 
C.2

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      Xalan development
IBM SWS Toronto Lab   T/L 969-6044;  Phone +1 905 413-6044
mailto:zongaro@ca.ibm.com
Received on Sunday, 15 February 2004 13:31:11 UTC

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