[
https://issues.apache.org/jira/browse/TUSCANY-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482908
]
Brian Murray commented on TUSCANY-1190:
---------------------------------------
The problem is indeed only true with mixed="true". (Thank you for the
suggestion, Frank.)
However, I note in Tuscany-1186 that there had been an error in the XSD. That
defect was closed when it was found that the condition does not arise with a
corrected XSD.
In the case of Tuscany-1190, however, I believe the XSD to be valid. The
problem is merely specific to mixed="true".
> IAE in static case when using DataObject.setList() to assign multiple Objects
> to a many-valued Property.
> --------------------------------------------------------------------------------------------------------
>
> Key: TUSCANY-1190
> URL: https://issues.apache.org/jira/browse/TUSCANY-1190
> Project: Tuscany
> Issue Type: Bug
> Components: Java SDO Implementation
> Reporter: Brian Murray
> Attachments: StaticMultiplicity.zip
>
>
> Assigning multiple values to a multi-valued List (at least in the specific
> case demonstrated in the test case) results in an IllegalArgumentException
> with the message "The multiplicity constraint is violated" in the static
> case. As can bee seen in the test case,
> the Dynamically defined types (using TypeHelper or XSDHelper) do not show
> this behavior. The same XSD was used in creating the static case as was used
> with the XSDHelper for one of the dynamic cases.
> Note that this same XSD and statically generated files will be used with the
> ContainmentCycleTestCase (Tuscany-826).
--
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]