[ 
https://issues.apache.org/jira/browse/TUSCANY-635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Sebastien Delfino resolved TUSCANY-635.
--------------------------------------------

    Resolution: Fixed

The XSD has been fixed.

> In sca-core.xsd, Wire still allows for both URIs and EPRs.
> ----------------------------------------------------------
>
>                 Key: TUSCANY-635
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-635
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Specification
>    Affects Versions: Cpp-current
>            Reporter: Jean-Sebastien Delfino
>         Assigned To: Jean-Sebastien Delfino
>             Fix For: Cpp-M3
>
>
> In sca-core.xsd, Wire can contain both URIs (xsd:anyURI) and EPRs (defined as 
> xsd:anyType).
> The SCA assembly spec level 0.95 does not mention EPRs anywhere. Either EPRs 
> are supported as source and target of a Wire and this should be described in 
> the spec and  IMO supported as well on references, or EPRs are not supported 
> and the XSD should be changed to reflect that.
> I will bring this issue to the OSOA spec workgroup.
> Assuming that EPRs are not supported we can simplify the XSD and change this:
>     <element name="source" type="anyType"/>
>     <element name="target" type="anyType"/>
>     
>     <element name="source.uri" type="anyURI" substitutionGroup="sca:source"/>
>     <element name="target.uri" type="anyURI" substitutionGroup="sca:target"/>
>     <complexType name="Wire">
>         <sequence>
>             <element ref="sca:source" minOccurs="1" maxOccurs="1"/>
>             <element ref="sca:target" minOccurs="1" maxOccurs="1"/>
>             <any namespace="##other" processContents="lax" minOccurs="0" 
> maxOccurs="unbounded"/>
>         </sequence>
>     </complexType>
>     <element name="source.epr" type="anyType" substitutionGroup="sca:source"/>
>     <element name="target.epr" type="anyType" substitutionGroup="sca:target"/>
> To the following (much simpler):
>     <complexType name="Wire">
>         <sequence>
>             <element name="source" type="anyURI" minOccurs="1" maxOccurs="1" 
> />
>             <element name="target" type="anyURI" minOccurs="1" maxOccurs="1" 
> />
>             <any namespace="##other" processContents="lax" minOccurs="0" 
> maxOccurs="unbounded" />
>         </sequence>
>         <anyAttribute namespace="##any" processContents="lax" />
>     </complexType>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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]

Reply via email to