peiyongz    2003/03/01 12:59:06

  Modified:    c/src/xercesc/validators/datatype
                        DecimalDatatypeValidator.cpp
  Log:
  TotalDigits value must be a positiveInteger
  
  Revision  Changes    Path
  1.8       +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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- DecimalDatatypeValidator.cpp      25 Feb 2003 17:24:37 -0000      1.7
  +++ DecimalDatatypeValidator.cpp      1 Mar 2003 20:59:06 -0000       1.8
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.8  2003/03/01 20:59:06  peiyongz
  + * TotalDigits value must be a positiveInteger
  + *
    * Revision 1.7  2003/02/25 17:24:37  peiyongz
    * Schema Errata: E2-44 totalDigits/fractDigits
    *
  @@ -226,7 +229,7 @@
   
           // check 4.3.11.c0 must: totalDigits > 0
           if ( val <= 0 )
  -            ThrowXML1(InvalidDatatypeFacetException, 
XMLExcepts::FACET_NonNeg_TotalDigit, value);
  +            ThrowXML1(InvalidDatatypeFacetException, 
XMLExcepts::FACET_PosInt_TotalDigit, value);
   
           setTotalDigits(val);
           setFacetsDefined(DatatypeValidator::FACET_TOTALDIGITS);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to