#49 Saxon 8.8B precompiled stylesheet broken

closed
nobody
None
5
2012-10-08
2006-09-07
Anonymous
No

The precompiled stylesheet functionality seems to be
broken in Saxon 8.8B.

The use of any compiled (.sxx with 8.8B) stylesheet
with the -c option throws a bunch of exceptions.
Without compilation the xsl-stylesheets used for
compilation do not produce any errors.

kurt.wald@t-online.de 2006.09.07

Discussion

  • Michael Kay

    Michael Kay - 2006-09-07

    Logged In: YES
    user_id=251681

    You're right: very embarrassing. I thought I was OK because
    I ran my full test suite with the "compile" switch on, but I
    had forgotten that this only tests the ability to compile
    the stylesheet and not the ability to run the resulting
    compiled code (the explanation is that historically, all the
    problems with stylesheet compilation have been at compile
    time rather than at run time.)

    I knew there were going to be problems with collations,
    because Saxon now makes more of the collation-related
    decisions at compile time, but Java's RuleBasedCollator is
    not serializable. However, I wrongly thought that I must
    have overcome these problems. I'm afraid this isn't going to
    be easy to fix and will probably need a maintenance release.
    As it happens I'm working on a new approach to compilation
    at the moment (mainly for XQuery) and the same problem
    occurs there, so I'm going to have to find a solution.

    Michael Kay

     
  • Michael Kay

    Michael Kay - 2006-09-12

    Logged In: YES
    user_id=251681

    I have run some tests using stylesheets that invoke Java
    extension functions and they appear to work OK. Could you
    provide a specific example of one that doesn't work, please?

     
  • Nobody/Anonymous

    Logged In: NO

    How do I Post the files?

    kurt.wald@t-online.de 2006.09.18

     
  • Michael Kay

    Michael Kay - 2006-09-18

    Logged In: YES
    user_id=251681

    You can submit files by using the "Upload and Attach a File"
    option on this form, or if you need to keep it confidential,
    by direct email to mike (at) saxonica.com

     
  • Nobody/Anonymous

    Logged In: NO

    I would like to keep this confidential. Since I haven't
    found an email address on saxonica.com could you please
    send an email to kurt.wald@t-online.de with the address to
    mail the files to?

     
  • Michael Kay

    Michael Kay - 2006-09-18

    Logged In: YES
    user_id=251681

    Your example (submitted off-list) works for me, provided
    that the JAR file containing the classes is on the classpath
    both at compile time and at run-time. I will take the
    opportunity, however, to improve the diagnostics when the
    required classes aren't on the classpath at runtime.

     


Anonymous

Cancel  Add attachments





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

Sign up for the SourceForge newsletter:





No, thanks