From: Colin P. A. <co...@co...> - 2006-02-26 16:16:12
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> What I get for `a_directory_name' is Eric> "\C%3A\DriveE\gobo\test\xml\xpath\data". The problem is Eric> obviously with the "\C%3A" instead of "C:". Then this looks like a bug in either UT_URI or KL_FILE_SYSTEM (or whatever - I'm not sure of the class names there). The colon is not a reserved character in a URI (at least, it's not reserved after the colon that separates a URI scheme name from the rest of the URI), so it shouldn't be escaped with percent-encoding. I've checked through all the classes involved in fn:collection, and I am pretty certain there is no code in there that's doing the escaping. Can you debug through and find out where the escaping is taking place? My guess is UT_URI is doing this, using the escaping routines in UT_URL_ENCODING. In that class, the routine Default_unescaped, does not include the colon as a member of the set that doesn't get escaped. So this is probably where the problem lies. -- Colin Adams Preston Lancashire |