Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SDO-M2
-
None
-
Java 1.4.2
Description
I have been unable to create data objects using dynamic metadata with the same information content as data objects created from XSD metadata. The problem is apparent for XSD elements that have maxOccurs greater than one when the element has repeated values.
Frank Budinsky responded to my posting on tuscany-dev with this statement:
"It seems that the dynamic API is creating properties with EMF's
EStructuralFeature.isUnique == true, while XSDEcoreBuilder sets it to
false.
I guess we should always set it to false (for DataTypes), to be
consistent.
"
I believe that both should be false for consistency and so that data objects can accurately represent the content of XML files.
I will attach a test case that demonstrates the problem and can verify its correction.