Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366183

Summary: reqif10.model should use GregorianCalendar instead of javax.xml.datatype.XMLGregorianCalendar
Product: [Modeling] MDT.RMF Reporter: Mark Broerkens <eclipse>
Component: Reqif-1.0Assignee: Mark Broerkens <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: michael
Version: unspecified   
Target Milestone: 0.9.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Mark Broerkens CLA 2011-12-09 09:06:46 EST
The reqif10.mode should be free of XML specific concepts. This simplifies the serialization to alternative formats. Therefore javax.xml.datatype.XMLGregorianCalendar should not be used.

I propose using the ecore data type EDate (java.util.Date) instead.
Comment 1 Mark Broerkens CLA 2012-04-12 20:37:08 EDT
EDate is not an option since it doesn't store the required timezone.
Gregorian calendar could be an option.
Comment 2 Mark Broerkens CLA 2013-10-02 05:10:02 EDT
we will go for GregorianCalendar
Comment 3 Mark Broerkens CLA 2013-10-07 11:35:09 EDT
The XMLGregorianCalendar is replaced by GregorianCalendar.
This avoids usage of javax.xml... and DatatypeFactory which depend on the installed XML parser.