Re: FileURL.java

Davanum Srinivas <[email protected]>
Newsgroups gmane.text.xml.commons.devel
Message-ID <[email protected]>
userdir = userdir.replace('\\', '/');

On 7/28/05, Chris Wong <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.