[
http://jira.codehaus.org/browse/JIBX-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Sosnoski resolved JIBX-211.
----------------------------------
Resolution: Fixed
Changed the code to accept the timezone information, but ignore it. That's
probably the best approach to take when using Java Date types. Future code may
make use of XmlGregorianCalendar or something similar to allow Java
representations more directly equivalent to the schema format.
> xs:date handling doesn't support timezone information
> -----------------------------------------------------
>
> Key: JIBX-211
> URL: http://jira.codehaus.org/browse/JIBX-211
> Project: JiBX
> Issue Type: Bug
> Components: core
> Affects Versions: JiBX 1.1.5
> Environment: n/a
> Reporter: Dennis Sosnoski
> Assignee: Dennis Sosnoski
> Fix For: JiBX 1.1.6
>
>
> Hi,
> The validateDate() function in org.jibx.runtime.Utility is used to
> validate dates in XSD date format. But it doesn't handle date strings with
> timezones, for example "2008-04-08Z", even though the timezone is part of
> the XSD date format specification.
> The biggest problem is that validateDate() doesn't just ignore the
> timezone, but that it considers a date with timezone invalid. This makes
> it unusable with the default axis2 databinding, which apppends a timezone
> to date values.
> Cheers,
> Jochem
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs