DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2926>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2926 constructor StreamSource(File f) sets incorrect system id for windows platform ------- Additional Comments From [EMAIL PROTECTED] 2002-07-15 15:53 ------- Both URIs are absolute not relative. Just doing "file:///"+file.toString() is a hack that is OS dependent. The only reason file:////a works in unix is because "//a" == "/a" in unix. I think the correct thing to do is to use: file.toURL().toExternalForm() which will do the right conversion for each OS. Otherwise you should at least to: String name = file.getAbsolutePath(); return (name.startsWith("/")? "file://" : "file:///") + name; By the way URIResolver is a hook for users to implement, you cannot just dump the problem to the users.
