DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18428>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18428 dateTime datatype Summary: dateTime datatype Product: Xerces2-J Version: 2.3.0 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: XML Schema datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Xerces-J complains when a dateTime element is assigned a time of 24:00:00 Consider the following schema code: <element name="testElement"> <complexType> <sequence> <element name="elem" type="dateTime"/> </sequence> </complexType> </element> The instance document contains the following line: <elem>2000-12-30T24:00:00</elem> Xerces-J produces the following error: "cvc-datatype-valid.1.2.1: '2000-12-30T24:00:00' is not a valid 'dateTime' value." This error is caused because the time is set to 24:00:00, but according to E2-41 (under 3.2.7.1) 24:00:00 is permitted in the lexical space of dateTime, but it's not permitted in its value space. This section of the errata appears below: "'24' is permitted if the minutes and seconds represented are zero, and the dateTime value so represented is the first instant of the following day (the hour property of a dateTime object in the �value space� cannot have a value greater than 23)" --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
