[
https://jira.jboss.org/jira/browse/JBESB-3036?page=com.atlassian.jira.plu...
]
David Ward closed JBESB-3036.
-----------------------------
Resolution: Done
Let's try this one more time... ;)
The only changes in the files listed below are to implement the fix as described by this
jira issue. Specifically, XsltAction now throws an Exception and breaks out of pipeline
processing if malformed XML input is passed in. XML input *validation* is not done,
however. That will be addressed by JBESB-3068.
I have tested the malformed check fix on AS 4.2.3 using JDK 1.5.0_22 and AS 5.1.0 using
JDK 1.6.0_17.
I also verified that the full integration build runs cleanly.
[JBESB_4_7_CP]$ svn commit
Sending
product/rosetta/src/org/jboss/soa/esb/actions/transformation/xslt/SourceFactory.java
Sending
product/rosetta/src/org/jboss/soa/esb/actions/transformation/xslt/XsltAction.java
Sending
product/rosetta/tests/src/org/jboss/soa/esb/actions/transformation/xslt/XsltActionUnitTest.java
Adding
product/rosetta/tests/src/org/jboss/soa/esb/actions/transformation/xslt/malformed1.xml
Transmitting file data ....
Committed revision 30725.
XsltAction - non-well formed XML message is silently transformed to
empty string
--------------------------------------------------------------------------------
Key: JBESB-3036
URL:
https://jira.jboss.org/jira/browse/JBESB-3036
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Transformation Service
Affects Versions: 4.7
Reporter: Kevin Conner
Assignee: David Ward
Fix For: 4.7 CP1
Attachments: XsltAction-ValidationConfiguration.pdf
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira