[xsd-users] Parsing of any type of xml fails

Boris Kolpackov boris at codesynthesis.com
Mon Mar 17 09:28:05 EDT 2014


Hi Albert,

Babinskas, Albert <albert.babinskas at imagingsciences.com> writes:

> When I try to parse the xml, I get an std exception, when it is parsing 
> the xml into dom object (xml::dom::auto_ptr<xercesc::DOMDocument> doc (
> domParser->parse (&wrap))).

I assume you are doing your own DOM parsing (i.e., you have created
domParser yourself). If you are catching std::exception, try to print
it's descirption to find out more about what's going on:

catch (const std::exception& e)
{
  cerr << e.what () << endl;
}

Boris



More information about the xsd-users mailing list