Re: JFOR in Windows

Phil Chu <[email protected]> Sat, 13 Dec 2003 10:04:41 -0800
Newsgroups gmane.text.xml.jfor.general
Message-ID <[email protected]>
The error you're getting is a Xerces SAX FileNotFound exception, right?

I see the same thing on my XP box, and a URL such as 
file:///C:/technicat/www/softdev/gamedev.fo doesn't work, even though 
mozilla accepts it.

I tried changing the code so that a FileInputStream is passed to 
InputSource (for the XML parsing) and that accepts plain old filenames. 
But then you couldn't type in a general URL, so I don't know if that is 
desired behavior.

-Phil

Martin David (ITS) wrote:

> Thanks for the suggestion, but I had already tried this. It doesn't work,
> I'm afraid.
> 
> David
> 
> -----Original Message-----
> From: Bertrand Delacretaz [mailto:[email protected]] 
> Sent: 12 December 2003 08:43
> To: Martin David (ITS)
> Cc: '[email protected]'
> Subject: Re: [jfor-users] JFOR in Windows
> 
> 
> Le Jeudi, 11 déc 2003, à 13:53 Europe/Zurich, Martin David (ITS) a 
> écrit :
> 
> 
>>...However, I then came across a second error - that the input file
>>could not
>>be found. It turns out that the specification of the input path 
>>requires
>>that the drive letter is missed out..
> 
> 
> IIRC a file:// URL should work for input files under windows. I don't 
> have a windows box handy to test, but try testing a file:// URL in a 
> browser and, if the browser finds the file, you should be able to use 
> the same URL for jfor.
> 
> Hope this helps,
> --
>    Bertrand Delacretaz
>    independent consultant, Lausanne, Switzerland
>    http://cvs.apache.org/~bdelacretaz/
> 
> 
> The information contained in this e-mail is intended for the recipient or
> entity to whom it is addressed. It may contain confidential information that
> is exempt from disclosure by law and if you are not the intended recipient,
> you must not copy, distribute or take any act in reliance on it. If you have
> received this e-mail in error, please notify the sender immediately and
> delete from your system. 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
> _______________________________________________
> jfor-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jfor-users
> 


-- 
Phil Chu
[email protected]
http://www.technicat.com/



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click