For future versions I would propose to switch the client API to the Collections Framework (no more Vector and Hashtable). With or without commons-collections. Can be discussed later.
Solution (4) has the disadvantage than it only works for the SearchMethod. Other methods can also have a defined order.
Martin
Ingo Brunberg wrote:
First, let me summarize that topic: The SEARCH method provides a way to deliver ordered results. The client library doesn't respect this, as it stores the responses in a Hashtable (XMLResponseMethodBase) thereby loosing any order. Possible solutions:
1) Replace the Hashtable by an OrderedMap from Commons Collections
2) Replace the Hashtable by a LinkedHashMap (requires Java 1.4)
3) Gianugo's patch: Store the response URLs in an additional Vector that preserves order
4) Not yet discussed: Just patch SearchMethod to override several methods of XMLResponseMethodBase (most complicated)
Personally I'd prefer solution 2, but I'm most likely the only one. The least intrusive way to go for now is Gianugo's patch (3), so if nobody disagrees I would propose to apply that. Past 2.0 we may still decide, wheter to require Java 1.4 or depend on Commons Collections.
Ingo
Gianugo Rabellino wrote:
Oliver Zeigermann wrote:
1.2 +408 -371 jakarta-slide/webdavclient/lib/commons-httpclient.jar
OK, now this last thing seems to be fixed, we can have the 2.0 beta release, right?
Er... well, I'm sorry to bug you, but to me this is quite an important issue and I'd sure like to have it fixed before the release:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26498
Ingo, what do you think? Will you check it in? I am not position to evaluate it. I will defer further steps until I hear from you.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Martin Dulisch Open Source Group, S&N AG [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
