You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ga...@apache.org on 2003/05/15 18:32:19 UTC

cvs commit: xml-xerces/c/src/xercesc/util XMLDateTime.cpp

gareth      2003/05/15 09:32:19

  Modified:    c/src/xercesc/util XMLDateTime.cpp
  Log:
  We did not allow dateTimes with a timezone due to the last seconds fix.
  
  Revision  Changes    Path
  1.9       +5 -2      xml-xerces/c/src/xercesc/util/XMLDateTime.cpp
  
  Index: XMLDateTime.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLDateTime.cpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLDateTime.cpp	23 Mar 2003 22:54:49 -0000	1.8
  +++ XMLDateTime.cpp	15 May 2003 16:32:19 -0000	1.9
  @@ -57,6 +57,9 @@
   /*
    * $Id$
    * $Log$
  + * Revision 1.9  2003/05/15 16:32:19  gareth
  + * We did not allow dateTimes with a timezone due to the last seconds fix.
  + *
    * Revision 1.8  2003/03/23 22:54:49  peiyongz
    * invalid second values
    *
  @@ -1047,7 +1050,7 @@
               fValue[MiliSecond] = parseInt(fStart, sign);  //get ms between UTC sign and fEnd
           }
   	}
  -    else
  +    else if(sign == 0 || sign != fStart)
       {
           // seconds has more than 2 digits
           ThrowXML1(SchemaDateTimeException
  
  
  

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