[
http://jira.jboss.com/jira/browse/JBWS-1647?page=all ]
Darran Lofthouse reopened JBWS-1647:
------------------------------------
Might have to commit this again as the branch for JBossWS 2.0 has just been deleted.
Text Node Preservation For Messages Sent Across The Wire
--------------------------------------------------------
Key: JBWS-1647
URL:
http://jira.jboss.com/jira/browse/JBWS-1647
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws
Reporter: Darran Lofthouse
Assigned To: Darran Lofthouse
Fix For: jbossws-2.0.0
Issue JBWS-1511 added support for the MessageFactory to preserve comments and text
nodes.
This Jira issue is to add tests for these messages being sent across the wire and to fix
the associated issues.
- SOAPMessage.writeTo comments after body were not escaped.
- SOAPElementImpl was trimming text nodes so they were getting dropped.
Then running the test suite there were problems in the following areas: -
- A number of areas did not expect child nodes to be text nodes and were thrown
ClassCastExceptions so have changed to skip these.
- A number of tests also did not expect this so have changed these tests to call
getChildElements and pass in the expected name so the text nodes will not be returned.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira