Subject: Re: Problems calculating the running time of an xsl script
From: Michael Ludwig <milu71@xxxxxx>
Date: Thu, 10 Dec 2009 15:04:02 +0100
|
Alex Muir schrieb am 10.12.2009 um 13:50:09 (+0000):
> Perhaps the drop down documentation in oxygen for current-dateTime()
> [...] should read:
>
> This is an xs:dateTime that is current at some time during the
> evaluation of a query or transformation in which fn:current-dateTime()
> was first executed. Subsequent executions of fn:current-dateTime()
> always return the same date and time.
This might be wrong or at least misleading as it implies a temporal
order and an order of execution by mentioning a "first execution" of
current-dateTime(). Without the concept of an order of execution there
can be no first execution. Conceptually, everything happens at once.
The value of current-dateTime() is just a static property, initialized
at some point, independent of any actual invocations of any date/time
function - at least conceptually.
--
Michael Ludwig
|