xml bindings for xs:date, xs:datetime and xs:time confuse the schema parser and
then it's not possible to determine what the correct type is
--------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOT-3928
URL: https://jira.codehaus.org/browse/GEOT-3928
Project: GeoTools
Issue Type: Bug
Components: wfs plugin, xsd extensions
Affects Versions: 2.7.3
Reporter: Gabriel Roldán
Assignee: Gabriel Roldán
Fix For: 2.7.4
xml bindings for xs:date, xs:datetime and xs:time confuse the schema parser and
then it's not possible to determine what the correct type is, as they are
mapped to an AttributeType with java.util.Calendar as binding.
This also produces that gml encoding of a features obtained through the WFS
DataStore that contain xs:date, xs:datetime and xs:time attributes to be
encoded as Calendar.toString() instead of as proper xml date/time strings.
The solution seems to be to patch the XSDate/XSDateTime/XSTimeBinding to map to
java.sql.Date, java.sql.Timestamp, and java.sql.Time respectively.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel