Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5E78FB79A for ; Wed, 4 Jan 2012 08:00:51 +0000 (UTC) Received: (qmail 19692 invoked by uid 500); 4 Jan 2012 08:00:51 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 17676 invoked by uid 500); 4 Jan 2012 08:00:31 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 17638 invoked by uid 99); 4 Jan 2012 08:00:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 08:00:26 +0000 X-ASF-Spam-Status: No, hits=-2001.6 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 08:00:24 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 88C92137CF0 for ; Wed, 4 Jan 2012 07:59:40 +0000 (UTC) Date: Wed, 4 Jan 2012 07:59:40 +0000 (UTC) From: "Matthias Brandt (Commented) (JIRA)" To: issues@cxf.apache.org Message-ID: <1376691388.3691.1325663980578.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1762586378.57734.1325507190717.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4003) XmlSchemaPrimitiveUtils covers date/time types MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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