Re: [cp-patches] [RFC] XML - fix for XMLParser's URL problem

2005-10-08 Thread Robert Schuster
Hi Chris. Disclaimer: I am neither an URL nor an an XML expert. The problem with your suggestion is: a) Sun's URL class accepts (throws no MalformedURLException) file:home/foo it adresses the file: //home/foo (which my bash accepts as well). Furthermore: Not accepting superfluous

Re: [cp-patches] [RFC] XML - fix for XMLParser's URL problem

2005-10-08 Thread Mark Wielaard
Hi, On Sat, 2005-10-08 at 17:10 +0200, Robert Schuster wrote: Furthermore: Not accepting superfluous slashes would not help the application in which I found this problem. I agree. We should be liberal in what we accept. b) Changing URL in a way that toString() returns the right value (that

Re: [cp-patches] [RFC] XML - fix for XMLParser's URL problem

2005-10-07 Thread Chris Burdess
Robert Schuster wrote: here is probably a fix for PR classpath/24249 [0]. 2005-10-07 Robert Schuster [EMAIL PROTECTED] * gnu/xml/aelfred2/SAXDriver.java: (absolutize): Replaced URL.toString() with explicit calls to build a new URL. * gnu/xml/dom/ls/DomLSParser.java:

[cp-patches] [RFC] XML - fix for XMLParser's URL problem

2005-10-06 Thread Robert Schuster
Hi, here is probably a fix for PR classpath/24249 [0]. 2005-10-07 Robert Schuster [EMAIL PROTECTED] * gnu/xml/aelfred2/SAXDriver.java: (absolutize): Replaced URL.toString() with explicit calls to build a new URL. * gnu/xml/dom/ls/DomLSParser.java: (getInputSource): dito.