Use / instead of \ or use \\ instead of \

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dawn
Sent: Thursday, November 10, 2005 11:31 AM
To: Bruno Lowagie
Cc: itext-questions@lists.sourceforge.net
Subject: [iText-questions] parse error

Hi,

I am having a difficult time to parse the xml file.
if the xml file in the local folder, it will be ok, like:
parser.parse("test.xml", getXmlHandler(document));

But if the xml file in other folder, I am not able to parse:
for example:
parser.parse("\C:\iText\test.xml", getXmlHandler(document));

Actually my xml file is in this path:
 "\\efs10\HOME2\DATA\avt\VAL\B011\B011J195L.XML";
But when I wrote the code:
parser.parse("\\efs10\HOME2\DATA\avt\VAL\B011\B011J195L.XML",
getXmlHandler(document));
I got an error: 
"invalid escape sequence(valid ones are \b \t\ n \f \r \" \' \\)"


Please help, thanks!

Dawn








        
                
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to