Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2134

Document changes in Smooks XSLT processing

    XMLWordPrintable

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Estimated Difficulty:
      Medium
    • Release Notes Text:
      Hide
      In JBoss Enterprise SOA Platform 5.0.0 or greater, the fragment filter is bypassed when the Smooks configuration only contains a single XSLT that is applied to the root fragment. In this situation the XSLT is applied directly. This is done for performance reasons.

      This behavior can be disabled by adding a parameter called enableFilterBypass and setting it to false.

        <param name="enableFilterBypass">false</param>
      Show
      In JBoss Enterprise SOA Platform 5.0.0 or greater, the fragment filter is bypassed when the Smooks configuration only contains a single XSLT that is applied to the root fragment. In this situation the XSLT is applied directly. This is done for performance reasons. This behavior can be disabled by adding a parameter called enableFilterBypass and setting it to false.   <param name="enableFilterBypass">false</param>
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      A Smooks XSLT transformation which worked in SOA-P 4.3 is not applied in SOA-P 5, due to a performance optimization inside Smooks between version 1.0 and 1.2. From Tom Fennelly:


      The only change to Smooks (wrt XSLT) in the last few releases had been the addition of support for bypassing the Smooks filter. This is a performance enhancement and what it means is that if the only configuration in the smooks config is a single XSLT targeted at the root fragment (whole document), then the Smooks fragment filter is bypassed and the XSLT is applied directly.

      To prevent this from happening, configure the resource to disable the filter bypass by adding a param setting "enableFilterBypass" to "false" (<param name="enableFilterBypass">false</param>).


      Could we please get this documented? Good places would be:

      • Smooks Guide, Chapter 4.2.3 XSL Templates
      • Release Notes, Chapter 10. Possible Issues Migrating to 5.0

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dmison Dana Mison
                Reporter:
                mputz Martin Weiler
                Writer:
                Dana Mison
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: