[xsd-users] instance document parsing failed

Boris Kolpackov boris at codesynthesis.com
Wed Dec 12 04:37:38 EST 2007


Hi Rajesh,

rmanwani at tpcsed.com <rmanwani at tpcsed.com> writes:

> terminate called after throwing an instance of 'xsd::cxx::tree::parsing<char>'
>   what():  instance document parsing failed
> Aborted

If you catch and print xml_schema::exception (see any example on how
to do this), you will get a more descriptive error message, something
along the "Unknown element ..." lines. For the possible causes of this
error and various solutions, see the C++/Tree Mapping FAQ, Q2.1:

http://wiki.codesynthesis.com/Tree/FAQ

Boris




More information about the xsd-users mailing list