If a collection is requested and it's name ends with a / then the collection name returned from getName is "". This patch strips the / from the end of the name when the collection object is created.
Shouldn't Xindice handle this case (and not the tests)? If you request a collection ending/not ending with a '/' Xindice should be smart enough to make the difference.
-Vladimir
-- Vladimir R. Bossicard Apache Xindice - http://xml.apache.org/xindice