[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1647) Text Node Preservation For Messages Sent Across The Wire
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Jun 5 06:32:08 EDT 2007
[ http://jira.jboss.com/jira/browse/JBWS-1647?page=comments#action_12364188 ]
Thomas Diesler commented on JBWS-1647:
--------------------------------------
http://www.w3.org/TR/soap12-part1/#soapinterminfoset
Note:
The rules above allow for signing of SOAP header blocks, the SOAP body, and combinations of SOAP header blocks and the SOAP body.
In the absence of a canonicalization algorithm to normalize the infoset transformations and if the "http://www.w3.org/TR/2001/REC-xml-c14n-20010315" canonicalization algorithm is used then items 1-6 and 11-14 are incompatible with signing the SOAP envelope and items 1, 2, 5, 6, 12 and 14 are incompatible with signing the SOAP header.
Similarly, if the "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments" canonicalization algorithm is used then items 7 and 8 are incompatible with signing the SOAP envelope and items 9 and 10 are incompatible with signing the SOAP header.
Note:
White space character information items are those whose [character code] property has a value of #x20, #x9, #xD or #xA.
> 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
More information about the jbossws-issues
mailing list