Missing converter between XMLGregorianCalendar and java.util.Date
-----------------------------------------------------------------

                 Key: GEOT-2143
                 URL: http://jira.codehaus.org/browse/GEOT-2143
             Project: GeoTools
          Issue Type: New Feature
          Components: ext xml-xsd
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira


WPS Execute response uses the following code to translate a date into an 
XMLGregorianCalendar:
        response.getStatus().setCreationTime( Converters.convert( started, 
XMLGregorianCalendar.class ));

Yet at the time of writing, no converter for that kind of conversion has been 
created, resulting in "null", which is a problem also because the creationTime 
attribute is required, so the Execute response as of now is not schema 
compliant.

A converter that goes from Date to XMLGregorianCalendar would fit the bill. 
Yet, I'm surprised this come out now, WFS 1.1 uses dates a lot and does not 
need one. Wondering if the problem should be addressed at the model level 
(having the model use date) or at the converter level.

-- 
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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to