[xsd-users] Document parsing failed

Boer den, Johan J (NSC) Johan.denBoer at NS.NL
Fri Jul 13 04:07:00 EDT 2007


Hi,
 
I am having the following problem. We generate C++ classes from our xsd
schemas. Later we want to do this action
 
string xmlmessage = ................     // our xml message containg the
xsd
 
stringstream ifs;
ifs << xmlmessage;
 
auto_ptr<PCS_CALCULATE_PRICES_ANSWER>
pcsAnswer(PCS_CALCULATE_PRICES_ANSWER_(ifs));
 
We got an std::exception with : instance document parsing failed.
 
What am I doing wrong
 
Johan
 
Dutch railways

------------------------------------------------------------------------------------------
Deze e-mail, inclusief eventuele bijlage(n), is uitsluitend bestemd voor gebruik door de 
geadresseerde(n). Indien u dit bericht abusievelijk heeft ontvangen, mag de informatie 
daarvan niet worden gebruikt of openbaar gemaakt, noch aan derden worden 
verstrekt. Wij verzoeken u om in dat geval direct contact op te nemen met de 
afzender en de e-mail te vernietigen.

This e-mail, including any appendix or appendices, is intended solely for use by the 
addressee(s). If you have received this message in error, the information it contains 
may not be used or disclosed, nor may it be revealed to third parties. In that case, 
please contact the sender immediately and destroy the e-mail.


More information about the xsd-users mailing list