You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@apache.org on 2005/03/03 19:05:54 UTC
cvs commit: xml-xerces/java/src/org/apache/xerces/impl/dv/xs AbstractDateTimeDV.java
ankitp 2005/03/03 10:05:54
Modified: java/src/org/apache/xerces/impl/dv/xs
AbstractDateTimeDV.java
Log:
not allow second value to equal 60
Revision Changes Path
1.34 +3 -3 xml-xerces/java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java
Index: AbstractDateTimeDV.java
===================================================================
RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/dv/xs/AbstractDateTimeDV.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- AbstractDateTimeDV.java 22 Feb 2005 19:32:30 -0000 1.33
+++ AbstractDateTimeDV.java 3 Mar 2005 18:05:54 -0000 1.34
@@ -452,8 +452,8 @@
}
//validate
- if ( data.second>60 || data.second<0 ) {
- throw new RuntimeException("Second must have values 0-60");
+ if ( data.second>=60 || data.second<0 ) {
+ throw new RuntimeException("Second must have values 0-59");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org