#740 NPE after execution serialized XSLTs

v9.0
closed
nobody
5
2012-10-08
2007-11-26
No

If saxon:evaluate function used in XSLT, than this XSLT throws NPE if used deserialized transformer. For example please have a look to attached demo XSLT.

Discussion

  • Alexander Borovsky

    testcase for reproduce problem

     
  • Michael Kay

    Michael Kay - 2007-12-05

    Logged In: YES
    user_id=251681
    Originator: NO

    This is a documented restriction: see the second bullet at:

    http://www.saxonica.com/documentation/using-xsl/compiling.html

    However, Saxon should be telling you about this at the time you attempt to compile the stylesheet, and I will look at the code to see why this isn't happening.

    Please note that this tracker is not the right way to notify suspected bugs. Please using the mailing list, the forum, or the support-requests tracker. There's a bright yellow notice on "Submit New bug" telling you this. One reason for the delay in responding is that I don't actually get notified of new entries made here.

     
  • Michael Kay

    Michael Kay - 2008-01-18

    Logged In: YES
    user_id=251681
    Originator: NO

    I've tried the test stylesheet in the current Saxon release, and compiling it gives the message

    Cannot compile a stylesheet containing calls to saxon:evaluate
    Unable to compile stylesheet

    I'm therefore closing this bug report as INVALID.