You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ca...@apache.org on 2006/03/17 22:34:18 UTC
svn commit: r386726 -
/xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp
Author: cargilld
Date: Fri Mar 17 13:34:17 2006
New Revision: 386726
URL: http://svn.apache.org/viewcvs?rev=386726&view=rev
Log:
Display actual errorCode when reporting an error.
Modified:
xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp
Modified: xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp
URL: http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp?rev=386726&r1=386725&r2=386726&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp (original)
+++ xerces/c/trunk/src/xercesc/validators/schema/SchemaValidator.cpp Fri Mar 17 13:34:17 2006
@@ -256,7 +256,7 @@
}
catch (XMLException& idve)
{
- emitError (XMLValid::DatatypeError, idve.getType(), idve.getMessage());
+ emitError (XMLValid::DatatypeError, idve.getCode(), idve.getType(), idve.getMessage());
fErrorOccurred = true;
}
catch(const OutOfMemoryException&) {
@@ -429,7 +429,7 @@
}
catch (XMLException& idve) {
fErrorOccurred = true;
- emitError (XMLValid::DatatypeError, idve.getType(), idve.getMessage());
+ emitError (XMLValid::DatatypeError, idve.getCode(), idve.getType(), idve.getMessage());
}
catch(const OutOfMemoryException&)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xerces.apache.org
For additional commands, e-mail: commits-help@xerces.apache.org