Re: HTTP client module
John Snelson <[email protected]> Thu, 22 Jan 2009 10:43:18 +0000
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Florent Georges wrote: > John Snelson wrote: > |> [ ... about lazy evaluating item returned after http:request, > |> representing the entity body of each message's part ... ] > >> In that case, lazy evaluation should be sufficient for >> efficiency. Results that aren't needed won't be evaluated. > > As I said, I do not think it is reasonable to rely on lazy > evaluation while defining an *extension* function. If there is a > reason to take optimization into account at one point, I don't > think we can just rely on lazy evaluation. > > That's just my impression. Is it possible in XQilla? Any > other implementer about this? 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. 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