You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matthias Brandt (Created) (JIRA)" <ji...@apache.org> on 2012/01/02 13:26:30 UTC

[jira] [Created] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

XmlSchemaPrimitiveUtils covers date/time types
----------------------------------------------

                 Key: CXF-4003
                 URL: https://issues.apache.org/jira/browse/CXF-4003
             Project: CXF
          Issue Type: Improvement
    Affects Versions: 2.5.1, 2.5
            Reporter: Matthias Brandt
            Priority: Minor


Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

I suggest this:
{code}		registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
		registerPrimitiveClasses("time", java.sql.Time.class);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Matthias Brandt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Brandt updated CXF-4003:
---------------------------------

    Description: 
Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

I suggest this:
{code}
		registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
		registerPrimitiveClasses("time", java.sql.Time.class);
{code}

  was:
Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

I suggest this:
{code}		registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
		registerPrimitiveClasses("time", java.sql.Time.class);
{code}

    
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Priority: Minor
>              Labels: date, time, xmltype
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> 		registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> 		registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Daniel Kulp (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-4003:
--------------------------------

    Assignee: Daniel Kulp
    
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: date, time, xmltype
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Matthias Brandt (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179330#comment-13179330 ] 

Matthias Brandt commented on CXF-4003:
--------------------------------------

Thank you! I knew, i forgot something important =) 
                
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: date, time, xmltype
>             Fix For: 2.5.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Daniel Kulp (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-4003.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.2


Patch applied, but I also added Calendar to the dateTime list.
                
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: date, time, xmltype
>             Fix For: 2.5.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Matthias Brandt (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Brandt updated CXF-4003:
---------------------------------

    Description: 
Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

I suggest this:
{code}
registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
registerPrimitiveClasses("time", java.sql.Time.class);
{code}

  was:
Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

I suggest this:
{code}
		registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
		registerPrimitiveClasses("time", java.sql.Time.class);
{code}

    
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Priority: Minor
>              Labels: date, time, xmltype
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types

Posted by "Matthias Brandt (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179329#comment-13179329 ] 

Matthias Brandt commented on CXF-4003:
--------------------------------------

Thank you! I knew, i forgot something important =) 
                
> XmlSchemaPrimitiveUtils covers date/time types
> ----------------------------------------------
>
>                 Key: CXF-4003
>                 URL: https://issues.apache.org/jira/browse/CXF-4003
>             Project: CXF
>          Issue Type: Improvement
>    Affects Versions: 2.5, 2.5.1
>            Reporter: Matthias Brandt
>            Assignee: Daniel Kulp
>            Priority: Minor
>              Labels: date, time, xmltype
>             Fix For: 2.5.2
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?
> I suggest this:
> {code}
> registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
> registerPrimitiveClasses("time", java.sql.Time.class);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira