If you want better insight into the exception, you should derive a class from DOMErrorHandler and do pBuilder->setErrorHandler(...) before your parse.
Adam Heinz Senior Software Developer Exstream Software -----Original Message----- From: Alexander Broekhuis [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 10:44 AM To: [EMAIL PROTECTED] Subject: RE: LPTSTR to DOMDocument Hi Adam and Alberto, You are right concerning that first char. But why does my program throw an exception when it wants to parse the xml? If i catch the exception with VS it says this: First-chance exception at 0x7c57e592 in TestApp.exe: Microsoft C++ exception: xercesc_2_5::XMLErrs::Codes @ 0x0012f048. What can be wrong? Alexander --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]