[
https://issues.apache.org/jira/browse/XERCESJ-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Simmons updated XERCESJ-1588:
-----------------------------------
Attachment: 003-date-canonicalization.patch
Updated patch with extra tests, it wasn't correctly handling time zones with
zero hours and negative minutes.
> DateDV should return canonical form of date but omits recoverable time zone.
> ----------------------------------------------------------------------------
>
> Key: XERCESJ-1588
> URL: https://issues.apache.org/jira/browse/XERCESJ-1588
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Datatypes, XML Schema API
> Affects Versions: 2.11.0
> Reporter: Chris Simmons
> Assignee: Michael Glavassevich
> Labels: patch
> Attachments: 003-date-canonicalization.patch
>
>
> The DateDV class doesn't take account of the time zone when producing the
> canonical string:-
> "For timezoned values, append the canonical representation of the
> ·recoverable timezone·. "
> http://www.w3.org/TR/xmlschema-2/#date
> It currently always appends 'Z' if there was any time zone.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]