Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366018 - Some attributes in the reqif10 model are not typed correctly
Summary: Some attributes in the reqif10 model are not typed correctly
Status: RESOLVED FIXED
Alias: None
Product: MDT.RMF
Classification: Modeling
Component: Reqif-1.0 (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P2 critical (vote)
Target Milestone: 0.5.0   Edit
Assignee: Mark Broerkens CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 07:47 EST by Mark Broerkens CLA
Modified: 2012-11-14 16:48 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Broerkens CLA 2011-12-08 07:47:41 EST
The some attributes are typed by JavaObject instead of the the datatype that is defined in the spec or the XML schema. The attributes and proposed datatypes are listed below:

(1) Identifiable.isEditable -> EBoolean
     (boolean in ReqIf spec, xsd:boolean in ReqIF XML schema)

(2) AttributeValueXhtml.isSimplified -> EBoolean 
     (boolean in ReqIf spec, xsd:boolean in ReqIF XML schema)

(3) SpecHierarchy.isTableInternal -> EBoolean
     (boolean in ReqIf spec, xsd:boolean in ReqIF XML schema)

(4) AlternativeId.identifier -> EString 
     (string in ReqIf spec, xsd:string in ReqIf XML Schema)

(5) EmbeddedValue.key ->EBigInteger
     (integer in ReqIf spec, xsd:integer in XML schema) 

(6) EmbeddedValue.otherContent -> EString 
     (string in ReqIf spec, xsd:string in ReqIf XML Schema)

(7) DatatypeDefinitionReal.accuracy -> EBigInteger
     (integer in ReqIf spec, xsd:integer in XML schema)


Note: EBigInteger is required since xsd:integer and cmof:integer define infinite integers:
An instance of Integer is an element in the (infinite) set of integers (…-2, -1, 0, 1, 2…).
[1][2]

[1] http://www.w3.org/TR/xmlschema-2/#integer
[2] http://www.omg.org/spec/UML/2.4.1/Infrastructure/PDF/
Comment 1 Mark Broerkens CLA 2012-04-12 20:33:47 EDT
fixed with commit 3e3829ca63eb7e022913315df0f4e377938c25d8
http://git.eclipse.org/gitroot/rmf/org.eclipse.rmf.git