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

Dan Jemiolo closed MUSE-246.
----------------------------

    Resolution: Fixed

Changed HashMap to LinkedHashMap

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to