Re: HTTP client module

John Snelson <[email protected]> Thu, 22 Jan 2009 16:08:06 +0000
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
Dimitre Novatchev wrote:
>> That's certainly possible in XQilla. But I also get the impression that
>> EXSLT functions are often incorporated in an implementation, where lazy
>> evaluation or some kind of static analysis will be more readily available.
> 
> 
> That's a misunderstanding of EXSLT and its purpose.
> 
> While the above approach would be suitable in designing a set of extensions for a particular XSLT processor, it is inappropriate and unrealistic in the wider context of all XSLT processors.
> 
> EXSLT should not teach the developers how to design their XSLT processors (as they are already designed and implemented) and should not assume that any set of XSLT processors will be willing to be completely redesigned just to follow the "  "best" features of processor X".
> 
> To summarize: Never assume anything more than compliance with the W3C specs.

I'm not assuming that. All I'm saying is that if you care about 
efficiently evaluating part of a sequence, you go with a lazy evaluation 
strategy - not build result modifiers into the function parameters.

John

-- 
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net