Hi Cristián, Sounds like a bug that I fixed [1] over two years ago. Should be working in Apache Xerces-J 2.7.1 and above.
As you noted Sun has its own derivatives of the codebase. These are maintained outside of Apache and are based off of releases that are several years old now containing bugs which have long since been fixed in Apache. We're not involved in their development. Thanks. [1] http://svn.apache.org/viewvc?view=rev&revision=320544 Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] Cris Webea <[EMAIL PROTECTED]> wrote on 01/02/2008 06:40:07 PM: > 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]