[ http://issues.apache.org/jira/browse/TUSCANY-444?page=all ]
Yang ZHONG updated TUSCANY-444:
-------------------------------
Attachment: fidelity.xsd
Loading the attached XSD throws SDOIllegalArgumentException:
Cannot add property AddedByExtension of type commonj.sdo#String to this
data type
http://www.apache.org/tuscany/interop#ComplexTypeExtendingSimpleTypeType
> ComplexTypeExtendingSimpleType
> ------------------------------
>
> Key: TUSCANY-444
> URL: http://issues.apache.org/jira/browse/TUSCANY-444
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: Windows XP
> Reporter: Simon Laws
> Fix For: Cpp-current
>
> Attachments: fidelity.xsd
>
>
> The following xml input
> <ComplexTypeExtendingSimpleType AddedByExtension="AddedByExtensionAttribute"
>
>
> xsi:type="tns:ComplexTypeExtendingSimpleTypeType">
> ComplexTypeExtendingSimpeType
> </ComplexTypeExtendingSimpleType>
> With the following schema
> <complexType name="ComplexTypeExtendingSimpleTypeType">
> <simpleContent>
> <extension base="tns:SimpleTypeWithNameType">
> <attribute name="AddedByExtension" type="string"/>
> </extension>
> </simpleContent>
> </complexType>
> Causes the runtime to fail with the following:
> SDOIllegalArgumentException Cannot add a properties to data types:
> ComplexTypeExtendingSimpleTypeTypeException
>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]