Re: HTTP client module
Florent Georges <[email protected]> Fri, 23 Jan 2009 00:29:47 +0100 (CET)
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
John Snelson wrote:
> > 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
But the recommendations do not require lazy evaluation, not
mentioning the ability for an extension to be able to provide it. I
think relying on extensions being able to provide lazy evaluation in
every processor is not reasonable in EXSLT.
And even if you could, I am not sure it would be a good think.
Because that's not about lazy evaluating a pure functional expression,
but analyzing an HTTP response. So it would mean to keep the HTTP
response buffers as long as the items are in scope...
Waiting for the wiki to be ready to use, I've summarised this
interesting discussion in the old wiki, at:
http://www.fgeorges.org/exslt2-wiki/HTTPClient
Hope I didn't forget too much points ;-) Please let me know if I
forgot something or wrote something dumb.
I will adapt the proposal in accordance when I find time.
Regards,
--
Florent Georges
http://www.fgeorges.org