peiyongz 2003/02/02 15:55:40 Modified: c/src/xercesc/validators/datatype AbstractNumericValidator.cpp AbstractNumericFacetValidator.cpp Log: getFormattedString() added to return original and converted value. Revision Changes Path 1.4 +6 -3 xml-xerces/c/src/xercesc/validators/datatype/AbstractNumericValidator.cpp Index: AbstractNumericValidator.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/AbstractNumericValidator.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- AbstractNumericValidator.cpp 30 Jan 2003 21:56:22 -0000 1.3 +++ AbstractNumericValidator.cpp 2 Feb 2003 23:55:40 -0000 1.4 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.4 2003/02/02 23:55:40 peiyongz + * getFormattedString() added to return original and converted value. + * * Revision 1.3 2003/01/30 21:56:22 tng * Performance: call getRawData instead of toString * @@ -85,8 +88,8 @@ #define REPORT_VALUE_ERROR(val1, val2, except_code) \ ThrowXML2(InvalidDatatypeValueException \ , except_code \ - , val1->getRawData() \ - , val2->getRawData()); + , val1->getFormattedString() \ + , val2->getFormattedString()); // --------------------------------------------------------------------------- // Constructors and Destructor 1.10 +6 -4 xml-xerces/c/src/xercesc/validators/datatype/AbstractNumericFacetValidator.cpp Index: AbstractNumericFacetValidator.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/AbstractNumericFacetValidator.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- AbstractNumericFacetValidator.cpp 30 Jan 2003 21:56:22 -0000 1.9 +++ AbstractNumericFacetValidator.cpp 2 Feb 2003 23:55:40 -0000 1.10 @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.10 2003/02/02 23:55:40 peiyongz + * getFormattedString() added to return original and converted value. + * * Revision 1.9 2003/01/30 21:56:22 tng * Performance: call getRawData instead of toString * @@ -120,9 +123,8 @@ #define REPORT_FACET_ERROR(val1, val2, except_code) \ ThrowXML2(InvalidDatatypeFacetException \ , except_code \ - , val1->getRawData() \ - , val2->getRawData()); - + , val1->getFormattedString() \ + , val2->getFormattedString()); #define FROM_BASE_VALUE_SPACE(val, facetFlag, except_code) \ if ((thisFacetsDefined & facetFlag) != 0) \
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]