Author: cargilld
Date: Wed Jul 27 05:39:08 2005
New Revision: 225502
URL: http://svn.apache.org/viewcvs?rev=225502&view=rev
Log:
Schema errata E2-27: don't have negative sign in front of zero.
Modified:
xerces/c/trunk/src/xercesc/util/XMLBigInteger.cpp
Modified: xerces/c/trunk/src/xercesc/util/XMLBigInteger.cpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/util/XMLBigInteger.cpp?rev=225502&r1=225501&r2=225502&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/util/XMLBigInteger.cpp (original)
+++ xerces/c/trunk/src/xercesc/util/XMLBigInteger.cpp Wed Jul 27 05:39:08 2005
@@ -34,7 +34,7 @@
XMLCh* XMLBigInteger::getCanonicalRepresentation(const XMLCh* const
rawData
, MemoryManager* const
memMgr
- , bool
isNonPositiveInteger)
+ , bool /*
isNonPositiveInteger */)
{
try
{
@@ -46,17 +46,8 @@
if (sign == 0)
{
- if (isNonPositiveInteger)
- {
- retBuf[0] = chDash;
- retBuf[1] = chDigit_0;
- retBuf[2] = chNull;
- }
- else
- {
- retBuf[0] = chDigit_0;
- retBuf[1] = chNull;
- }
+ retBuf[0] = chDigit_0;
+ retBuf[1] = chNull;
}
else if (sign == -1)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]