On Sun, Jan 24, 2010 at 09:22:33PM +0100, Daniel Leidert wrote: > You can easily workaround that. Just write your own catalog with > entries:
I have a better solution: a working resolver. I did some looking into the code, and I found the problem. In Catalog.java, the method addDelegate looks through the list of delegates already existing, so it can put them in proper order by length (which is needed to determine the best match). If it finds an existing delegate with the same prefix, it gives up: // we already have this prefix However, it completely ignores the *type* of the delegate. Therefore, if a delegateSystem exists, and we attempt to add a delegateURI with the same prefix, it assumes we already have it and gives up, wrongly. This also occurs with the delegates the other way around. A patch is forthcoming, which resolves the testcase you have provided in the Apache bug report. -- brian m. carlson / brian with sandals: Houston, Texas, US +1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature