[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: current-dateTime()

Subject: Re: current-dateTime()
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Fri, 18 Apr 2008 07:58:11 -0700
Re:  current-dateTime()
Seems like some people didn't understand what I said.

Is it too complicated to understand that "the results happens not
earlier than the reason for it" ?

It cannot be simpler than this...


If you don't understand this simple logical axiom, then do not use it,
but ignoring it will not make it cease to exist.


-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play

On Fri, Apr 18, 2008 at 7:33 AM, Liam Quin <liam@xxxxxx> wrote:
> On Fri, Apr 18, 2008 at 05:55:07AM -0700, Dimitre Novatchev wrote:
> [...]
> >   <xsl:variable name="$vY" select="f:someFun($vX)" as="someType"/>
> > Then it is true that:
> >    creationTime($vY) > creationTime($vX)
>
> Actually this is far from certain, odd as it may seem.
>
> It depends what the compiler knows about f:fomeFun().  For
> example, if the function does not use its argument, then the
> variables can be created in either order, and quite possibly
> statically, before any other processing.
>
> [...]
>
> > XSLT supports a more specific run-time serialization. Let's have the
> > following tree:
> >
> > <a>
> >  <b>
> >    <c>
> >      <d/>
> >
> [...]
>
> > strtRunTime(tmpl-matchA) < strtRunTime(tmpl-matchB) <
> > strtRunTime(tmpl-matchC) < strtRunTime(tmpl-matchD)
>
> No.  There is no guarantee of that at all.  An XSLT processor
> could start at the template for <d /> and work upwards.  Again,
> I don't know if there any that do (I'd be be interested to learn),
> but you cannot make this sort of assumption.
>
> However, in an implementation that does not memoize the results of
> external functions, you can indeed in practice use some of the
> techniques you describe.
>
> Liam
>
> --
> Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
> http://www.holoweb.net/~liam/ * http://www.fromoldbooks.org/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.