Hi 

Please find attached the patch for YearMonthDatatypeValidator. It was resulting 
in 109 tests failure in NIST test-suit from W3C.


Cheers

Gopal
-----------------------
SUN Microsystems, India

Attachment: YearMonthDatatypeValidator.java
Description: YearMonthDatatypeValidator.java

Index: YearMonthDatatypeValidator.java
===================================================================
RCS file: 
/home/cvspublic/xml-xerces/java/src/org/apache/xerces/impl/v2/datatypes/YearMonthDatatypeValidator.java,v
retrieving revision 1.3
diff -w -u -r1.3 YearMonthDatatypeValidator.java
--- YearMonthDatatypeValidator.java     2001/10/16 17:21:39     1.3
+++ YearMonthDatatypeValidator.java     2001/10/17 12:33:13
@@ -102,7 +102,8 @@
         // get date
         getYearMonth(fStart, fEnd, date);
         parseTimeZone (fEnd, date);
-
+       //Gopal Sharma, SUN Microsystems Inc.
+       date[D]=1;
         //validate and normalize
         
         //REVISIT: do we need SchemaDateTimeException?

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

Reply via email to