You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by "Dan Jemiolo (JIRA)" <ji...@apache.org> on 2006/09/01 17:15:23 UTC

[jira] Closed: (MUSE-88) PutRPDoc returns rp doc on response even when the final rp doc is identical to the one specified by client

     [ http://issues.apache.org/jira/browse/MUSE-88?page=all ]

Dan Jemiolo closed MUSE-88.
---------------------------

    Fix Version/s: 2.0.0
       Resolution: Fixed

Fixed:  http://svn.apache.org/viewvc?rev=439348&view=rev

> 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
>             Fix For: 2.0.0
>
>         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: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org