[
https://issues.apache.org/jira/browse/TUSCANY-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513292
]
Michael Yoder commented on TUSCANY-1443:
----------------------------------------
I see. If SCA CPP is currently 0.96 then the samples instance docs should be
modified to be valid with the schemas in Tuscany source control. When SCA CPP
moves to 1.0, then both the schemas and instance docs can be updated.
Either way the issue is the instance docs are invalid with the schemas
currently used by SCA CPP.
> 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
> Environment: all
> Reporter: Michael Yoder
>
> 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]