You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Chris Simmons (JIRA)" <xe...@xml.apache.org> on 2012/09/13 15:26:07 UTC

[jira] [Updated] (XERCESJ-1588) DateDV should return canonical form of date but omits recoverable time zone.

     [ 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

This patch fixes the issue and includes a unit test.  I'd be grateful if someone could review and apply the fix.
                
> 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
>              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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org