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

Close

#746 NPE with empty transformation

v9.0
closed
Michael Kay
5
2014-08-23
2007-12-05
Michael Kay
No

If an XSLT transformation (a) produces an empty result tree, and (b) has a Builder as its destination (that is, it is writing the result to a Saxon tree), a NullPointerException occurs at the end of the transformation.

This happens for example when saxon:transform() is used to run a transformation and that transformation produces no output.

A patch (module ImplicitResultChecker) is being placed in Subversion.

Discussion

  • Michael Kay
    Michael Kay
    2008-01-18

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.3