Transforming with compile XSLT -Saxon 9.1.x.x

  • pvallone

    pvallone - 2010-09-03


    I have a compiled stylesheet (.sxx) that was compiled in an earlier version of
    Saxon. I think, 9.0. Can I run this compiled version on 9.1.x.x?

    I ask because I am getting this error: net.sf.saxon.expr.Optimizer; local class incompatible: stream classdesc serialVersionUID = -4843906557053710688, local class serialVersionUID = 402074181221448295


  • Michael Kay

    Michael Kay - 2010-09-03

    Saxon compiled stylesheets can only be run under exactly the same version that
    they were compiled under. This even extends to maintenance releases. Sorry
    about the inconvenience. (I could solve half the problem by allocating stable
    versionIds to the classes. But that would still leave the other half of the
    problem, which is that the compiled format is strongly dependent on the
    implementation classes, and there are often good reasons for changing these
    from one release to the next, for example to implement optimizations.)

  • pvallone

    pvallone - 2010-09-03

    Thanks Michael,

    No worries, I just need to plug-in the order version of Saxon and run it that
    way. Thanks.


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

No, thanks