Project

Profile

Help

various patches and extensions posted

Added by Anonymous about 20 years ago

Legacy ID: #2848641 Legacy Poster: Gunther Schadow (gschadow)

Hi Michael, this is just to inform you (and other interested parties) that I have posted 4 extensions to saxon to the patch area: 1) deferred arguments in extension functions (the "special forms" issue discussed here today.) 2) support for extension functions that return a Closure, i.e., making Closer even less prone to being evaluated. 3) extension elements that implement Java exception handling in XSLT 4) extension elements that implement HTTP POST (or generic URLConnection) remote operations Each contribution addresses a single issue and I divided it up so that you may consider each unencumbered for the possibility that you might adopt the code into your releases. I found this stuff incredibly useful over the last few years that I am maintaining this. There are some dependencies: 2) depends on 1) 4) practically (not absolutely) depends on 3) thank you for your consideration. regards, -Gunther


Replies (1)

RE: various patches and extensions posted - Added by Anonymous about 20 years ago

Legacy ID: #2848878 Legacy Poster: Gunther Schadow (gschadow)

I just added the last part: that matches the rest of the actual argument list to a trailing formal argument of type Expression[]. Again I submitted this to the patches area. This new patch 5) strongly depends on 1) and the demo weakly depends on 2). That's it. It was a lot easier in 8.1.1 than ever before. Please consider these for possible addition to your code. I think the use cases of these are sound and I am feeling pretty good about my implementation. I have been using the closure stuff for over a year and never ran into problems with it. I had been using a poor-man's progn form as: (expr1, expr2, ...)[last()] but that is not guaranteed to evaluate all arguments left to right. So I think the progn form is warranted. thanks, -Gunther

    (1-1/1)

    Please register to reply