TemporalAttributeType should be using converters to check and parse its values
------------------------------------------------------------------------------

                 Key: GEOT-1408
                 URL: http://jira.codehaus.org/browse/GEOT-1408
             Project: GeoTools
          Issue Type: Bug
          Components: core feature
    Affects Versions: 2.4-M4
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
            Priority: Critical
             Fix For: 2.4-RC0


XML parsers, be them the new or the old ones, do generate Calendar or Date 
objects when faced with xs:date, xs:datetime or xs:time objects, without 
knowing what's the actual class in the TemporalAttributeType.
We should either provide more context to the XML parsers, or have 
TemporalAttributeType do validation and parsing using the Converter framework 
which, as I see, has a TemporalConverterFactory to take care of these 
conversions.

I'm assigning this to jdeolive because I'm about  to leave for vacations, if 
this is not addressed promptly then you can reassign it to me.

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to