fixed date comparison to handle the tzo The only failures left are

* xmlschemastypes.c: fixed date comparison to handle the tzo
  The only failures left are disagreements on Notations and
  '+1' not being allowed for ulong, uint, ushort and ubyte.
Daniel
diff --git a/xmlschemastypes.c b/xmlschemastypes.c
index 79cf833..4a659a3 100644
--- a/xmlschemastypes.c
+++ b/xmlschemastypes.c
@@ -2495,7 +2495,9 @@
  */
 #define TIME_TO_NUMBER(dt)                              \
     ((double)((dt->value.date.hour * SECS_PER_HOUR) +   \
-              (dt->value.date.min * SECS_PER_MIN)) + dt->value.date.sec)
+              (dt->value.date.min * SECS_PER_MIN) +	\
+              (dt->value.date.tzo * SECS_PER_MIN)) +	\
+               dt->value.date.sec)
 
 /**
  * xmlSchemaCompareDates: