[
https://issues.apache.org/jira/browse/TUSCANY-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kelvin Goodson updated TUSCANY-1193:
------------------------------------
Fix Version/s: (was: Java-SDO-M2)
Java-SDO-M3
> unable to create data objects from dynamic metadata that match data objects
> created from XSD metadata
> -----------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1193
> URL: https://issues.apache.org/jira/browse/TUSCANY-1193
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Affects Versions: Java-SDO-M2
> Environment: Java 1.4.2
> Reporter: Paul Golick
> Fix For: Java-SDO-M3
>
> Attachments: DynamicTypesComparisonTestCase.jar
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]