You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2004/08/17 23:09:27 UTC

cvs commit: xml-xerces/c/src/xercesc/validators/datatype DecimalDatatypeValidator.cpp

peiyongz    2004/08/17 14:09:27

  Modified:    c/src/xercesc/validators/datatype
                        DecimalDatatypeValidator.cpp
  Log:
  canRep for nonPositivieInteger
  
  Revision  Changes    Path
  1.27      +4 -1      xml-xerces/c/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp
  
  Index: DecimalDatatypeValidator.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/datatype/DecimalDatatypeValidator.cpp,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- DecimalDatatypeValidator.cpp	13 Jan 2004 21:18:18 -0000	1.26
  +++ DecimalDatatypeValidator.cpp	17 Aug 2004 21:09:27 -0000	1.27
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.27  2004/08/17 21:09:27  peiyongz
  + * canRep for nonPositivieInteger
  + *
    * Revision 1.26  2004/01/13 21:18:18  peiyongz
    * revert code back to previous version
    *
  @@ -753,7 +756,7 @@
           (dvType == XMLCanRepGroup::Decimal_Derivated_unsigned) ||
           (dvType == XMLCanRepGroup::Decimal_Derivated_npi)        )
       {          
  -        return XMLBigInteger::getCanonicalRepresentation(rawData, toUse);
  +        return XMLBigInteger::getCanonicalRepresentation(rawData, toUse, dvType == XMLCanRepGroup::Decimal_Derivated_npi);
       }
       else if (dvType == XMLCanRepGroup::Decimal) 
       {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org