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=24881>. 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=24881 grammar load crash [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2003-11-21 11:16 ------- The test program is not valid; you shouldn't call Terminate while you still have any Xerces object live in the stack. If you do, and the destructors of those objects try to access some global variables that Terminate released, a crash will happen. The correct program is: XMLPlatformUtils::Initialize(); { XercesDOMParser parser; parser.setDoSchema(true); parser.setDoNamespaces(true); parser.setValidationScheme(XercesDOMParser::Val_Always); parser.loadGrammar("test.xsd", Grammar::SchemaGrammarType); } XMLPlatformUtils::Terminate(); This code works with VS.NET 2003 and the snapshot 20031120171656. Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
