Emma
 
What does your XML file look like?
 
Todd
----- Original Message -----
From: Emma Towey
Sent: Tuesday, April 03, 2001 12:51 PM
Subject: error thrown by parser

 

Hi,

I’m having a bit of a problem with the parser.

When my program parses a file it returns an error. The error returned is not of type XMLException or of type DOM_DOMException.

 

 

   try

    {

        parser->parse(gXmlFile);

    }

 

    catch (const XMLException& e)

    {

        cerr << "An XMLException error occured during parsing\n   Message: "

             << DOMString(e.getMessage()) << endl;

        errorsOccured = true;

    }

 

 

    catch (const DOM_DOMException& e)

    {

       cerr << "A DOMException error occured  during parsing\n   Message: "

             << DOMString(e.msg) << endl;

        errorsOccured = true;

    }

 

    catch (...)// an error is occuring here

    {

        cerr << "A general error occured during parsing\n " << endl;

        errorsOccured = true;

    }

 

I was wondering how to find out what type of error is occurring and how to fix it.

Thanks,

Emma



Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to