Neil,
I have already tried using the following:
parser.parse("file:///test/data.xml");
and that does work. However, being on a Windows platform, I need to be able
to reference the drive that this path information refers to. I may have any
number of drives available (c:, d:, e:, etc.), and need to be able to
specify what drive test/data.xml resides on. Does anyone know how to
accomplish this?
Brad
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2001 1:31 PM
To: [EMAIL PROTECTED]
Subject: RE: Windows Paths
Hi Brad. Try "file:///xxx" where xxx is your c:/ stuff. This should
hopefully solve your problem.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 416-448-3519, T/L 778-3519
E-mail: [EMAIL PROTECTED]
"Brad O'Hearne" <[EMAIL PROTECTED]> on 02/19/2001 04:21:39 PM
Please respond to [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>, "Milind Gadre"
<[EMAIL PROTECTED]>
cc:
Subject: RE: Windows Paths
I must still be missing something. Neither
parser.parse("c:/test/data.xml");
or
parser.parse("file://c:/test/data.xml");
are working. They are both causing a NullPointerException to be thrown,
same as the "c:\test\data.xml" string below.
Any other ideas, or have I missed something?
Brad
-----Original Message-----
From: Milind Gadre [mailto:[EMAIL PROTECTED]
Sent: Monday, February 19, 2001 12:56 PM
To: [EMAIL PROTECTED]
Subject: Re: Windows Paths
Brad, use forward slashes ... c:/a/b/c
Regards...
Milind Gadre
ecPlatforms, Inc
901 Mariner's Island Blvd, Suite 565
San Mateo, CA 94404
C: 510-919-0596
F: 815-352-0779
[EMAIL PROTECTED]
>
> parser.parse("c:\test\data.xml");
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]