int example_2() { static const char* xml = "<element/>"; XMLDocument doc; doc.Parse( xml ); return doc.ErrorID(); }