I found a difference between the validation of xsd:dateTime in java5 and
java6.

I'm posting here because java[56] uses Xerces internally, if this is out 
of line/scope just let me know. 

Example:

An attribute of type dateTime with its value set to: '2007-06-18 T09:42:00Z'.
Notice the space before the T, which according to w3 is invalid.

Java5 parses with no validation errors.

Java6 parses with this:
cvc-datatype-valid.1.2.1: '2007-06-18 T09:42:00Z' is not a valid value
for 'dateTime'.

Is this a validation option I can switch on in Java5 or is it a bug
that is fixed in the newer Xerces (Thus java6)?

What versions of Xerces are used in Java5 and Java6 respectively? I
might be able to just use a newer Xerces directly instead of upgrade Java.

-franco

--
Francesco Lazzarino
Digital Archive Programmer
Florida Center for Library Automation
http://daitss.fcla.edu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to