Hi, 

In a schema against which we are doing validation we defined an element with an 
attribute of type xsd:date (not datetime). If the XML document that we validate 
contains in that attribute not only the date, but the time fields as well, the 
validation returns that the XML document is correct. According to the w3c 
schema an xsd:date type should not include time fields. I also validated the 
document in Eclipse and received an error saying that the attribute is not 
correct according to its type definition. 

I am doing this through J2EE 1.5 JAXP (which I beleive uses xerces or some code 
derived from xerces), however, I also looked into the xerces code and doesn't 
seem to be validating this specifically. Is this a bug? Should xerces return 
that validation failed under this scenario? 

Please let me know. 

Thanks, 

Cristián. 

       
---------------------------------

Tarjeta de crédito Yahoo! de Banco Supervielle.Solicitá tu nueva Tarjeta de 
crédito. De tu PC directo a tu casa. 
 Visitá www.tuprimeratarjeta.com.ar

Reply via email to