/ Alexander Pavlenko <[EMAIL PROTECTED]> was heard to say: | Excuse me if I say obvious things but maybe it will help. | | "file" URLs usually should have one or three slashes following the scheme | name, not two. | | file:/path - means missing authority part | file:///path - means empty authority name | | Both of the above imply the default authority: | | file://localhost/path | | If you use two slashes it means that you specify the authority explicitly | and in case of "file" scheme the authority means host name.
Yes, I understand the semantics. Unfortunately, file: URIs interact badly with Windows style path names. | By the way, I also actively use CatalogResolver and have encountered many | times that it returns incorrect URLs like | file://c:/sofefolder/... Could you try the patch I provided? I believe that I've plugged that hole. But I've also believed that before. | and... | | couldn't you use java.io.File.toURI()? (J2SE1.4!) I think XML Commons is still expected to support 1.3. Be seeing you, norm -- [EMAIL PROTECTED] / XML Standards Architect / Sun Microsystems, Inc. NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
pgp33bHvArsAY.pgp
Description: PGP signature