xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Wong" <cw...@idiominc.com>
Subject RE: FileURL.java
Date Thu, 28 Jul 2005 14:32:43 GMT
Thanks for responding. The fix from the Java perspective is obvious. But what puzzles me is
why the resolver works in spite of this nonfunctioning line.

Chris

-----Original Message-----
From: Davanum Srinivas [mailto:davanum@gmail.com]
Sent: Thursday, July 28, 2005 10:20 AM
To: Chris Wong
Cc: XML-Commons-Dev (E-mail)
Subject: Re: FileURL.java


userdir = userdir.replace('\\', '/');

On 7/28/05, Chris Wong <cwong@idiominc.com> wrote:
>  
> I was poking around the resolver code, and found the following lines in
> FileURL.makeURL: 
>   
>     String userdir = System.getProperty("user.dir");
>     userdir.replace('\\', '/'); 
>   
> This is in org.apache.xml.resolver.helpers. These lines used to be in
> ResolvingXMLFilter.java in an older version of the resolver code. Unless
> reality has warped on me, the userdir.replace() call has absolutely no
> effect. 
>   
> Chris 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/

Mime
View raw message