Re: Geting errors

2004-04-09 Thread Alberto Massari
At 14.27 09/04/2004 +0200, Milan Tomic wrote: This is how I pare file: bool errorsOccured = false; int errorCount = 0; try { parser->parse(argv[argc - 1]); errorCount = parser->getErrorCount(); if (errorCount > 0) errorsOccured = true; } catch (const XMLException& e) { cerr <<

Geting errors

2004-04-09 Thread Milan Tomic
Title: Geting errors     This is how I pare file: bool errorsOccured = false; int errorCount = 0; try {   parser->parse(argv[argc - 1]);   errorCount = parser->getErrorCount();   if (errorCount > 0)     errorsOccured = true; } catch (const XMLException& e) {