You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Aliza Nagauker <Al...@ectel.com> on 2003/04/24 11:56:37 UTC

FW: Exceptions in parseURI

 
-----Original Message-----
From: Aliza Nagauker 
Sent: Thursday, April 24, 2003 9:53 AM
To: 'xerces-c-dev-faq@xml.apache.org'
Subject: Exceptions in parseURI


Hello, 
 
I am trying to parse an XML document using the XERCES lib.
 
I followed the DOMCount Example:
 
When Calling to parseURI("a.xml"), parsing completes successfully and there
are no exceptions.
 
When calling parseURI("C:\\a.xml") with full path ,  there are exceptions.
 
what could be the problem?
 
I'll appreciate your help, 
 
Aliza
 

Re: FW: Exceptions in parseURI

Posted by da...@us.ibm.com.



"C:\\a.xml" is not a valid URI.

Try:

   "file:///C:\\a.xml"

Dave



                                                                                                                                 
                      Aliza Nagauker                                                                                             
                      <AlizaN@ectel.co         To:      "Xerces-C-Dev (E-mail)" <xe...@xml.apache.org>                    
                      m>                       cc:      (bcc: David N Bertoni/Cambridge/IBM)                                     
                                               Subject: FW:  Exceptions in parseURI                                              
                      04/24/2003 02:56                                                                                           
                      AM                                                                                                         
                      Please respond                                                                                             
                      to xerces-c-dev                                                                                            
                                                                                                                                 




-----Original Message-----
From: Aliza Nagauker
Sent: Thursday, April 24, 2003 9:53 AM
To: 'xerces-c-dev-faq@xml.apache.org'
Subject: Exceptions in parseURI

Hello,

I am trying to parse an XML document using the XERCES lib.

I followed the DOMCount Example:

When Calling to parseURI("a.xml"), parsing completes successfully and there
are no exceptions.

When calling parseURI("C:\\a.xml") with full path ,  there are exceptions.

what could be the problem?

I'll appreciate your help,

Aliza



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org