diff -ru dbxml-2.3.10-original/xqilla/src/items/impl/ATDateTimeOrDerivedImpl.cpp dbxml-2.3.10/xqilla/src/items/impl/ATDateTimeOrDerivedImpl.cpp --- dbxml-2.3.10-original/xqilla/src/items/impl/ATDateTimeOrDerivedImpl.cpp 2006-11-01 16:37:20.000000000 +0000 +++ dbxml-2.3.10/xqilla/src/items/impl/ATDateTimeOrDerivedImpl.cpp 2007-03-12 11:41:21.000000000 +0000 @@ -727,7 +727,7 @@ } // check time format - if(MM > 12 || YY == 0 || DD > DateUtils::maximumDayInMonthFor(YY, MM) || hh > 24 || mm > 59 || ss > 59 || zonehh > 24 || zonemm > 59 ) + if(MM > 12 || YY == 0 || DD > DateUtils::maximumDayInMonthFor(YY, MM) || hh > 24 || mm > 59 || ss >= 60 || zonehh > 24 || zonemm > 59 ) { wrongformat = true; } diff -ru dbxml-2.3.10-original/xqilla/src/items/impl/ATTimeOrDerivedImpl.cpp dbxml-2.3.10/xqilla/src/items/impl/ATTimeOrDerivedImpl.cpp --- dbxml-2.3.10-original/xqilla/src/items/impl/ATTimeOrDerivedImpl.cpp 2006-11-01 16:37:21.000000000 +0000 +++ dbxml-2.3.10/xqilla/src/items/impl/ATTimeOrDerivedImpl.cpp 2007-03-12 11:41:32.000000000 +0000 @@ -474,7 +474,7 @@ } } - if ( hh > 24 || mm > 59 || ss > 59 || zonehh > 24 || zonemm > 59 ) + if ( hh > 24 || mm > 59 || ss >= 60 || zonehh > 24 || zonemm > 59 ) wrongformat = true; if(hh==24 && mm==0 && ss==0) hh=0;