detail.php
OW2 Forge: Detail: 305908 XMLGregorianCalendar returns null in JAXB unmarshalling

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Celtix ESB
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #305908 ] XMLGregorianCalendar returns null in JAXB unmarshalling

Date:
2006-08-05 08:52
Priority:
5
Submitted By:
Nobody (None)
Assigned To:
Nobody (None)
Category:
XML Binding
State:
Open
Summary:
XMLGregorianCalendar returns null in JAXB unmarshalling

Detailed description:
Hi Our schema is designed as below: <xs:simpleType name="DateOrDateTimeType"> <xs:annotation> <xs:documentation xml:lang="en"> A construct to validate either a date or a dateTime value. </xs:documentation> </xs:annotation> <xs:union memberTypes="xs:date xs:dateTime"/> </xs:simpleType> We use JAXB to bind this schema. JAXB generates the java file with the XMLGregorianCalendar data type for this field. while unmarshalling the XML, the accessor method for this field is returning always null eventhough the XML contains the valid date time structure. If anybody has the solution work around for this problem, please let me know at a_c_mohan@rediffmail.com Your help will be highly appreciated. thanks A.Chandramohan

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials