David,
I've tried first with an empty file and the doc is not null. Let's say for
this situation, I can call getDocumentElement that will be null, so it can be
tested. The problems arise when is not well-formed. Taking this small file:
tag
Name
after I parsed and I've counted the number of e
I'd check to see if it exists before I even try to parse it. Just use some
standard 'C' call such as '_access("me.xml", 0)'. If it does exists and
simply isn't well-formed, I do not know off-hand if an exception is thrown
or a error-handler called. I would think it would since the inital doc
decla
Hi David,
If no errors is called or exception thrown, there is any possibility to
check the resulted document? I mean if the file doesn't exist or is not an
well formed XML, how can I check this after I'm parsing the file?
Let's say that I want to create an XalanDocument based on a Xerces Document
Does the file "me.xml" actually exist? The DOMParser won't create it for
you. It will instead try to parse it, and if it doesn't exist, no error
handler is called or exception thrown.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
PROTECTED]
> -Original Message-
> From: Adams, David [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 29, 2001 4:28 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Help on Application Error
>
>
> Hi Jordan, I'm not available to the list Mon-Thur and I'm catching up. I
nter and
hence, blows up. So one suggestion I can offer up is to verify your
'xmlFile' path to the DOMParser::parse(xmlFile') routine.
> -Original Message-
> From: J. Chong [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 5:44 AM
> To: [EMAIL PROTECTED
Dear all,
I am very new to Xerces-C. I have the following codes (in MSVC++)
I am trying to build the .EXE for the following codes. The
compilation is OK. But when I tried to run this code, some problem
happens. System complains on Application Error. I have checked it... and
it ha