[
https://issues.apache.org/jira/browse/TUSCANY-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Edwards reassigned TUSCANY-1443:
-------------------------------------
Assignee: Mike Edwards
> sample composite files are invalid instance documents against SCA schema types
> ------------------------------------------------------------------------------
>
> Key: TUSCANY-1443
> URL: https://issues.apache.org/jira/browse/TUSCANY-1443
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SCA
> Environment: all
> Reporter: Michael Yoder
> Assignee: Mike Edwards
>
> The SCA samples composite files are invalid against the SCA schemas. In a
> component element, the property element has content. e.g. (from CppBigBank)
> <component name="AccountServiceComponent">
> .....
> <property name="currency">EURO</property>
> </component>
> When the XML Schema type does not allow mixed or simple content:
> <complexType name="PropertyType">
> <complexContent>
> <extension base="anyType">
> <attribute name="name" type="NCName" use="required" />
> <attribute name="type" type="QName" use="required" />
> <attribute name="many" type="boolean" default="false"
> use="optional" />
> <attribute name="override" type="sca:OverrideOptions"
> default="may" use="optional" />
> <anyAttribute namespace="##any" processContents="lax" />
> </extension>
> </complexContent>
> </complexType>
> The type is open to additional attributes, so the instance documents can be
> made valid with simple changes like this:
> <component name="AccountServiceComponent">
> .....
> <property name="currency" value="EURO"/>
> </component>
--
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]