I'm a newbie when it comes to .XSD, please bear with me.

I've created a .xml doc that validates fine using XMLSPY. Tried writing a simple validation program in C# using XmlValidatingReader (more or less copied from MSDN) and I get an XmlSchemaException: element has an invalid value according to its data type.

This is the definition in the schema:
<xsd:element name="ActivityTime" type="xsd:time"> where xsd is defined as xmlns:xsd="http://www.w3.org/2001/XMLSchema

Here's an example that validates fine in XMLSPY yet gives an exception with XmlValidatingReader:
<jxdd:ActivityTime>07:59</jxdd:ActivityTime>

Here's an example that validates fine using either method:
<jxdd:ActivityTime>14:20:00-05:00</jxdd:ActivityTime>

I can see how the values are different, but what I don't get is why it validates with one method and not the other. Is this poor validation in XMLSPY? A problem with XmlValidatingReader? Or am I missing something?

Thanks,
Mike