You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/09/04 11:54:55 UTC
DO NOT REPLY [Bug 12290] New: -
example on webpage won't compile
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12290>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12290
example on webpage won't compile
Summary: example on webpage won't compile
Product: Xerces-C++
Version: 2.1.0
Platform: Other
URL: http://xml.apache.org/xerces-c/program-dom.html
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Documentation
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: hayden@smileyface.com
the example under XercesDOMParser -> constructing a XercesDOMParser on the page
http://xml.apache.org/xerces-c/program-dom.html won't compile.
#include <xercesc/util/PlatformUtils.hpp>
is needed and toCatch.getMessage() should be toCatch.msg in the following context.
catch (const DOMException& toCatch) {
char* message = XMLString::transcode(toCatch.getMessage());
cout << "Exception message is: \n"
<< message << "\n";
delete [] message;
return -1;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org