You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Paul Golick (JIRA)" <tu...@ws.apache.org> on 2007/03/23 19:19:32 UTC
[jira] Created: (TUSCANY-1193) unable to create data objects from
dynamic metadata that match data objects created from XSD metadata
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-M2
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
[jira] Updated: (TUSCANY-1193) unable to create data objects from
dynamic metadata that match data objects created from XSD metadata
Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Golick updated TUSCANY-1193:
---------------------------------
Attachment: DynamicTypesComparisonTestCase.jar
This jar is intended to be extracted from the Tuscany\java directory.
The content is a test case for demonstrating the problem or verifying its correction.
> 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-M2
>
> 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
[jira] Updated: (TUSCANY-1193) unable to create data objects from
dynamic metadata that match data objects created from XSD metadata
Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
[ 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
[jira] Closed: (TUSCANY-1193) unable to create data objects from
dynamic metadata that match data objects created from XSD metadata
Posted by "Paul Golick (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Golick closed TUSCANY-1193.
--------------------------------
> 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-beta1
>
> 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
[jira] Resolved: (TUSCANY-1193) unable to create data objects from
dynamic metadata that match data objects created from XSD metadata
Posted by "Frank Budinsky (JIRA)" <tu...@ws.apache.org>.
[ https://issues.apache.org/jira/browse/TUSCANY-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Budinsky resolved TUSCANY-1193.
-------------------------------------
Resolution: Fixed
Fixed in revision 524084.
> 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-M2
>
> 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