You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by el...@apache.org on 2001/10/17 21:09:57 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/v2/datatypes YearMonthDatatypeValidator.java

elena       01/10/17 12:09:57

  Modified:    java/src/org/apache/xerces/impl/v2/datatypes
                        YearMonthDatatypeValidator.java
  Log:
  applied patch from  Gopal Sharma .
  
  Revision  Changes    Path
  1.4       +4 -1      xml-xerces/java/src/org/apache/xerces/impl/v2/datatypes/YearMonthDatatypeValidator.java
  
  Index: YearMonthDatatypeValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/v2/datatypes/YearMonthDatatypeValidator.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- YearMonthDatatypeValidator.java	2001/10/16 17:21:39	1.3
  +++ YearMonthDatatypeValidator.java	2001/10/17 19:09:57	1.4
  @@ -66,7 +66,7 @@
    * Validator for <gYearMonth> datatype (W3C Schema Datatypes)
    * 
    * @author Elena Litani
  - * @version $Id: YearMonthDatatypeValidator.java,v 1.3 2001/10/16 17:21:39 elena Exp $
  + * @version $Id: YearMonthDatatypeValidator.java,v 1.4 2001/10/17 19:09:57 elena Exp $
    */
   
   public class YearMonthDatatypeValidator extends DateTimeValidator {
  @@ -102,6 +102,9 @@
           // get date
           getYearMonth(fStart, fEnd, date);
           parseTimeZone (fEnd, date);
  +
  +        // Initialize values:
  +        date[D]=DAY;
   
           //validate and normalize
           
  
  
  

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