PutRPDoc returns rp doc on response even when the final rp doc is identical to
the one specified by client
----------------------------------------------------------------------------------------------------------
Key: MUSE-88
URL: http://issues.apache.org/jira/browse/MUSE-88
Project: Muse
Issue Type: Bug
Components: WSRF WSRP ResourcePropertyCollection and Capabilities
Affects Versions: 2.0.0 M2
Environment: any
Reporter: Mohammad Fakhar
Assigned To: Dan Jemiolo
Attachments: putRPDocPatch
putResourcePropertyDocument implementation in SimpleResourcePropertyCollection
returns the rp document
on response when the final rp doc and the one passed in by client look exactly
the same. This happens
because the code wasn't checking for sporadic white space text nodes that are
direct children of the root
doc passed by client. Therefore, when we compared the client doc with final
doc, they never matched, as the only
difference was that of white space text nodes.
The uploaded patch fixes this by removing all white space text nodes that are
immediate children of root doc
passed by client; WS-RP only cares about top level elements anyway, we
shouldn't be doing comparisons
on direct whitespace text nodes children of root.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]