Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#766 Passing external object to method expecting List

v9.0
closed
Michael Kay
5
2012-10-08
2008-01-18
Michael Kay
No

When an extension function that expects a List as its argument is called, and the supplied value is a singleton "external object" (a wrapper around a Java object), Saxon reports that conversion of the supplied value to the required type has failed. The correct action is to create a list of length one containing the unwrapped external object.

A patch will be placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2008-03-17

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.4