peiyongz 2003/03/12 12:45:46
Modified: c/src/xercesc/util XMLAbstractDoubleFloat.cpp
Log:
format string for value converted to Zero.
Revision Changes Path
1.11 +8 -1 xml-xerces/c/src/xercesc/util/XMLAbstractDoubleFloat.cpp
Index: XMLAbstractDoubleFloat.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLAbstractDoubleFloat.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- XMLAbstractDoubleFloat.cpp 10 Mar 2003 20:55:58 -0000 1.10
+++ XMLAbstractDoubleFloat.cpp 12 Mar 2003 20:45:46 -0000 1.11
@@ -57,6 +57,9 @@
/*
* $Id$
* $Log$
+ * Revision 1.11 2003/03/12 20:45:46 peiyongz
+ * format string for value converted to Zero.
+ *
* Revision 1.10 2003/03/10 20:55:58 peiyongz
* Schema Errata E2-40 double/float
*
@@ -226,6 +229,10 @@
break;
case NaN:
XMLString::catString(fFormattedString, XMLUni::fgNaNString);
+ break;
+ default:
+ // its zero
+ XMLString::catString(fFormattedString, XMLUni::fgPosZeroString);
break;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]