#723 Compiling to Java, no code for user-defined functions

v8.9
closed
5
2012-10-08
2007-09-12
Michael Kay
No

When a query is compiled to Java (under Saxon-SA), no code is generated to implement user-defined functions.

[Note: this sounds like a really bad bug, and in user terms it is. Internally, however, the code is all there to compile user-defined functions, but the list of functions to be compiled is being taken from the wrong place (the external static query context rather than the internal SQC). The code was clearly working and tested at some stage, and I'm not sure at what time it stopped working; it might be a side-effect of a previous patch.]

A source code fix has been produced, and will be included in any future 8.9.0.x maintenance release.

Discussion

  • Michael Kay

    Michael Kay - 2007-09-12

    Logged In: YES
    user_id=251681
    Originator: YES

    Further testing reveals that the problem was introduced in 8.9.0.4, and is not present in 8.9.0.3.

     
  • Michael Kay

    Michael Kay - 2007-11-04

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.1

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks