You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jeremy Boynes (JIRA)" <ji...@apache.org> on 2006/01/17 23:44:43 UTC
[jira] Created: (TUSCANY-12) Calling XSDHelper.define() twice with
the same schema results in duplicate Types
Calling XSDHelper.define() twice with the same schema results in duplicate Types
--------------------------------------------------------------------------------
Key: TUSCANY-12
URL: http://issues.apache.org/jira/browse/TUSCANY-12
Project: Tuscany
Type: Bug
Components: Java SDO Implementation
Reporter: Jeremy Boynes
If XSDHelper.define() is called a second time with the same schema definition then superfluous Types are defined
See XSDHelperTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TUSCANY-12) Calling XSDHelper.define() twice
with the same schema results in duplicate Types
Posted by "Frank Budinsky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-12?page=comments#action_12363150 ]
Frank Budinsky commented on TUSCANY-12:
---------------------------------------
I don't think this fix is quite right. The problem relates to what is returned by the method. The JavaDoc says that it returns the "defined types" so I think that it should return an empty list the second time (since there are no new types being defined). Jeremy, does that sound OK to you?
This decision will affect the expected behavior in the JUnit test as well.
> Calling XSDHelper.define() twice with the same schema results in duplicate Types
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-12
> URL: http://issues.apache.org/jira/browse/TUSCANY-12
> Project: Tuscany
> Type: Bug
> Components: Java SDO Implementation
> Reporter: Jeremy Boynes
>
> If XSDHelper.define() is called a second time with the same schema definition then superfluous Types are defined
> See XSDHelperTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Assigned: (TUSCANY-12) Calling XSDHelper.define() twice with
the same schema results in duplicate Types
Posted by "Frank Budinsky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-12?page=all ]
Frank Budinsky reassigned TUSCANY-12:
-------------------------------------
Assign To: Frank Budinsky
> Calling XSDHelper.define() twice with the same schema results in duplicate Types
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-12
> URL: http://issues.apache.org/jira/browse/TUSCANY-12
> Project: Tuscany
> Type: Bug
> Components: Java SDO Implementation
> Reporter: Jeremy Boynes
> Assignee: Frank Budinsky
>
> If XSDHelper.define() is called a second time with the same schema definition then superfluous Types are defined
> See XSDHelperTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (TUSCANY-12) Calling XSDHelper.define() twice with
the same schema results in duplicate Types
Posted by "Frank Budinsky (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-12?page=all ]
Frank Budinsky resolved TUSCANY-12:
-----------------------------------
Resolution: Fixed
After talking to Jeremy and others, I decided to leave this as it is - since the spec is vague, the best approach is to be consistent in the event of multiple calls to define.
> Calling XSDHelper.define() twice with the same schema results in duplicate Types
> --------------------------------------------------------------------------------
>
> Key: TUSCANY-12
> URL: http://issues.apache.org/jira/browse/TUSCANY-12
> Project: Tuscany
> Type: Bug
> Components: Java SDO Implementation
> Reporter: Jeremy Boynes
> Assignee: Frank Budinsky
>
> If XSDHelper.define() is called a second time with the same schema definition then superfluous Types are defined
> See XSDHelperTestCase
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira