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 2007/08/31 17:00:33 UTC

[jira] Updated: (MUSE-246) GetRPDoc returns properties in wrong order

     [ https://issues.apache.org/jira/browse/MUSE-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Jemiolo updated MUSE-246:
-----------------------------

          Component/s: WSRF WSRP ResourcePropertyCollection and Capabilities
        Fix Version/s: 2.3.0
    Affects Version/s: 2.2.0

> GetRPDoc returns properties in wrong order
> ------------------------------------------
>
>                 Key: MUSE-246
>                 URL: https://issues.apache.org/jira/browse/MUSE-246
>             Project: Muse
>          Issue Type: Bug
>          Components: WSRF WSRP ResourcePropertyCollection and Capabilities
>    Affects Versions: 2.2.0
>            Reporter: Vinh Nguyen
>            Assignee: Dan Jemiolo
>             Fix For: 2.3.0
>
>
> I'm trying to do some client validation of data coming from the server, and the resource properties in the GetRPDoc response are not in the correct order as defined in the XSD.  So my client validation fails.
> The bug is in:
> org.apache.muse.ws.resource.properties.schema.impl.SimpleResourcePropertiesSchema
> It currently uses a HashMap to store the property names, so the ordering is lost as entries are inserted.  Instead, use some sort of list.  Or easier, just use a LinkedHashMap.  The existing code logic can remain the same, but this type of map will properly maintain the order of entries as they are inserted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org