You are absolutely right. This issue has not been addressed before.

I'll happily accept a patch against the current implementation of
SearchMethod. But I would feel more comfortable if you'd not introduce
a new dependency on commons-collections.

Ingo

> I don't know if/how this has been discussed before (from a quick search 
> doesn't look like it has), but there is an issue in the SWCL which is 
> bugging us quite a bit and that I need to sort out somehow.
> 
> The current DASL basicsearch spec allow for ordered result via the 
> pseudo-sql <dav:orderby> clause. The current implementation of 
> SearchMethod, though, extends XMLResponseBase which puts the results 
> into an Hashtable, thus losing the order in which resources were 
> presented by the server.
> 
> The fix is not a big deal but (be it commons-collections based - IMO 
> preferrable - or tied to JDK 1.4's Linked stuff), but before delving 
> into it myself and providing a patch, I wanted to make sure that I'm not 
> seriously overlooking something (I would then happily wear my dumbass 
> hat) and, in that case, that it would be a welcome addition before the 
> next release. Comments?
> 
> -- 
> Gianugo Rabellino
> Pro-netics s.r.l. -  http://www.pro-netics.com
> Orixo, the XML business alliance - http://www.orixo.com
>      (Blogging at: http://www.rabellino.it/blog/)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to