Petals Distribution

Override the embedded Saxon XSLT engine

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 4.0.0, 4.1.0, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4
  • Fix Version/s: 5.0.0-M1
  • Component/s: Components, Container
  • Security Level: Public
  • Description:
    Hide

    Previously to Petals 4.0, if a need of XSLT 2.0 occurs at SE XSLT level, you will use the Petals SE XSLT with Saxon provided as shared library. Since Petals 4, Saxon HE 9.2.0.6 was defined as the default XSLT engine of Petals ESB. We select it instead of Xalan to provide an XSLT 2.0.

    Since Saxon 9.2, Saxon product packages was reviewed, and some XSL features are no more available in the Saxon open source edition because they was moved into commercial editions (PE and EE).

    We should be able to override the default Saxon to use your own edition and/or version, at least on Petals SE XSLT.

    Show
    Previously to Petals 4.0, if a need of XSLT 2.0 occurs at SE XSLT level, you will use the Petals SE XSLT with Saxon provided as shared library. Since Petals 4, Saxon HE 9.2.0.6 was defined as the default XSLT engine of Petals ESB. We select it instead of Xalan to provide an XSLT 2.0. Since Saxon 9.2, Saxon product packages was reviewed, and some XSL features are no more available in the Saxon open source edition because they was moved into commercial editions (PE and EE). We should be able to override the default Saxon to use your own edition and/or version, at least on Petals SE XSLT.
  • Environment:
    -

Issue Links

Activity

Christophe DENEUX made changes - Thu, 2 Jul 2015 - 14:28:35 +0200
Field Original Value New Value
Priority Blocker [ 1 ]
Description Since Petals 4, Saxon HE 9.2.0.6 was defined as the default XSLT engine of Petals ESB. We select it instead of Xalan to provide an XSLT 2.0. So previously to Petals 4.0, if a need of XSLT 2.0 occurs at SE XSLT level, you will use the Petals SE XSLT with Saxon provided as shared library.

Since Saxon 9.2, Saxon product packages was reviewed, and some XSL features are no more available in the Saxon open source edition because they was moved into commercial editions (PE and EE).

We should be able to override the default Saxon to use your own edition and/or version, at least on Petals SE XSLT.
Previously to Petals 4.0, if a need of XSLT 2.0 occurs at SE XSLT level, you will use the Petals SE XSLT with Saxon provided as shared library. Since Petals 4, Saxon HE 9.2.0.6 was defined as the default XSLT engine of Petals ESB. We select it instead of Xalan to provide an XSLT 2.0.

Since Saxon 9.2, Saxon product packages was reviewed, and some XSL features are no more available in the Saxon open source edition because they was moved into commercial editions (PE and EE).

We should be able to override the default Saxon to use your own edition and/or version, at least on Petals SE XSLT.
Hide
Christophe DENEUX added a comment - Thu, 2 Jul 2015 - 15:44:10 +0200 - edited

The integration tests of SE XSLT have been improved to use not only the Xalan XSLT engine but also the embedded Saxon HE XSLT engine (svn#37404, in branch petals-4.3.x). The test about the custom Java function returns an error due to the extensibility not supported by Saxon HE. It should work with Saxon B 9.0.0.8 if we can override Saxon.

Show
Christophe DENEUX added a comment - Thu, 2 Jul 2015 - 15:44:10 +0200 - edited The integration tests of SE XSLT have been improved to use not only the Xalan XSLT engine but also the embedded Saxon HE XSLT engine (svn#37404, in branch petals-4.3.x). The test about the custom Java function returns an error due to the extensibility not supported by Saxon HE. It should work with Saxon B 9.0.0.8 if we can override Saxon.
Christophe DENEUX made changes - Thu, 2 Jul 2015 - 15:44:10 +0200
Status New [ 10000 ] Open [ 10002 ]
Priority Blocker [ 1 ] Major [ 3 ]
Hide
Christophe DENEUX added a comment - Thu, 2 Jul 2015 - 17:49:42 +0200

svn#37404 merged in trunk

Show
Christophe DENEUX added a comment - Thu, 2 Jul 2015 - 17:49:42 +0200 svn#37404 merged in trunk
Christophe DENEUX made changes - Fri, 3 Jul 2015 - 09:05:09 +0200
Link This issue depends on PETALSESBCONT-341 [ PETALSESBCONT-341 ]
Victor NOËL made changes - Wed, 8 Jul 2015 - 14:19:50 +0200
Link This issue depends on PETALSDISTRIB-148 [ PETALSDISTRIB-148 ]
Hide
Victor NOËL added a comment - Wed, 8 Jul 2015 - 14:19:51 +0200

There won't be any more need for that when Saxon is removed: one will use a SL to choose the version of Saxon to use, and Xalan will be used by default.

Show
Victor NOËL added a comment - Wed, 8 Jul 2015 - 14:19:51 +0200 There won't be any more need for that when Saxon is removed: one will use a SL to choose the version of Saxon to use, and Xalan will be used by default.
Victor NOËL made changes - Wed, 8 Jul 2015 - 16:38:03 +0200
Assignee Christophe DENEUX [ cdeneux ] Victor NOËL [ vnoel ]
Victor NOËL made changes - Wed, 8 Jul 2015 - 16:38:08 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Hide
Victor NOËL added a comment - Wed, 8 Jul 2015 - 16:38:58 +0200

Now the XSLT Engine is configurable using a SL (or it will use the Java default one, i.e. Xalan 2.7.0)

Show
Victor NOËL added a comment - Wed, 8 Jul 2015 - 16:38:58 +0200 Now the XSLT Engine is configurable using a SL (or it will use the Java default one, i.e. Xalan 2.7.0)
Victor NOËL made changes - Wed, 8 Jul 2015 - 16:38:58 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 5.0.0 [ 10412 ]
Resolution Fixed [ 1 ]
Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
3h 57m
1
Christophe DENEUX
Thu, 2 Jul 2015 - 15:44:10 +0200
Open Open In Progress In Progress
6d 53m
1
Victor NOËL
Wed, 8 Jul 2015 - 16:38:08 +0200
In Progress In Progress Resolved Resolved
50s
1
Victor NOËL
Wed, 8 Jul 2015 - 16:38:58 +0200



People

Dates

  • Created:
    Thu, 2 Jul 2015 - 11:46:35 +0200
    Updated:
    Wed, 8 Jul 2015 - 16:38:58 +0200
    Resolved:
    Wed, 8 Jul 2015 - 16:38:58 +0200