Bug 779772 (SOA-2134) - Document changes in Smooks XSLT processing
Summary: Document changes in Smooks XSLT processing
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2134
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Documentation
Version: 5.0.0 GA
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0 GA
Assignee: Dana Mison
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-25 13:02 UTC by Martin Weiler
Modified: 2011-01-20 04:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-20 04:41:38 UTC
Type: Task


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2134 0 None None None Never

Description Martin Weiler 2010-06-25 13:02:14 UTC
Affects: Documentation (Ref Guide, User Guide, etc.), Release Notes
Complexity: Medium
Help Desk Ticket Reference: https://access.redhat.com/issue-tracker/1035273
project_key: SOA

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

Comment 1 Anne-Louise Tangring 2010-09-22 12:19:22 UTC
Candidate for SOA 5.1.0

Comment 2 Anne-Louise Tangring 2010-12-06 16:23:29 UTC
Usability and customer sat is important, thus this is made a blocker for SOA 5.1. 

Comment 3 Dana Mison 2010-12-17 02:13:00 UTC
Labels: Added: Smooks_Guide migration_issue release_notes
Complexity: Added: Medium
Affects: Added: [Documentation (Ref Guide, User Guide, etc.), Release Notes]


Comment 5 Dana Mison 2011-01-05 00:12:18 UTC
Writer: Added: Darrin


Comment 6 Dana Mison 2011-01-20 04:41:37 UTC
Added to Smooks Guide as an <important> admonition (5.2.3.  XSL Templates) and also to the release notes

Comment 7 Dana Mison 2011-01-20 04:41:38 UTC
Release Notes Docs Status: Added: Documented as Known Issue
Release Notes Text: Added: 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>



Note You need to log in before you can comment on or make changes to this bug.