You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org> on 2007/04/11 12:27:32 UTC

[jira] Updated: (TUSCANY-1193) unable to create data objects from dynamic metadata that match data objects created from XSD metadata

     [ 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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org