You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Geoff Winn (JIRA)" <tu...@ws.apache.org> on 2006/08/01 12:04:14 UTC
[jira] Created: (TUSCANY-587) WSDL XSD is read incorrectly.
WSDL XSD is read incorrectly.
-----------------------------
Key: TUSCANY-587
URL: http://issues.apache.org/jira/browse/TUSCANY-587
Project: Tuscany
Issue Type: Bug
Components: C++ SDO
Affects Versions: Cpp-current
Environment: All platforms
Reporter: Geoff Winn
When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: [jira] Commented: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by Pete Robbins <ro...@googlemail.com>.
OK. I've taken a look at this and may have a fix. It also uncovered a couple
of other issues with the SDO Implementation. I will raise separate Jiras for
those for clarity.
Cheers,
On 04/08/06, Geoff Winn (JIRA) <tu...@ws.apache.org> wrote:
>
> [
> http://issues.apache.org/jira/browse/TUSCANY-587?page=comments#action_12425755]
>
> Geoff Winn commented on TUSCANY-587:
> ------------------------------------
>
> There is more to this than I first thought. The problem is exhibited by
> the following schema
>
> <?xml version="1.0" encoding="UTF-8" ?>
>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> targetNamespace="http://schemas.xmlsoap.org/wsdl/"
> elementFormDefault="qualified" >
>
> <xs:group name="Wrapper">
> <xs:choice>
> <xs:element name="import" type="xs:string" />
> <xs:element name="types" type="xs:string" />
> <xs:element name="message" type="xs:string" />
> </xs:choice>
> </xs:group>
>
> <xs:complexType name="tDefinitions" >
> <xs:complexContent>
> <xs:sequence>
> <xs:group ref="wsdl:Wrapper" minOccurs="0" maxOccurs="unbounded"
> />
> </xs:sequence>
> <xs:attribute name="targetNamespace" type="xs:anyURI"
> use="optional" />
> <xs:attribute name="name" type="xs:NCName" use="optional" />
> </xs:complexContent>
> </xs:complexType>
>
> </xs:schema>
>
> The imprtant line is the group ref. The group consists of a choice of
> three elements and the group ref allows unbounded repeats. After reading
> this xsd, SDO ought to generate a type containing three properties, import,
> types and message, all of which are many valued. In fact they are all single
> valued, so SDO has failed to process the attributes on the group ref.
>
> > WSDL XSD is read incorrectly.
> > -----------------------------
> >
> > Key: TUSCANY-587
> > URL: http://issues.apache.org/jira/browse/TUSCANY-587
> > Project: Tuscany
> > Issue Type: Bug
> > Components: C++ SDO
> > Affects Versions: Cpp-current
> > Environment: All platforms
> > Reporter: Geoff Winn
> >
> > When SDO for C++ reads the WSDL XSD (
> http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in
> fact many valued are identified in the internal model as single valued.
>
> --
> 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: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
--
Pete
[jira] Commented: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=comments#action_12424809 ]
Geoff Winn commented on TUSCANY-587:
------------------------------------
I'm working on this.
> WSDL XSD is read incorrectly.
> -----------------------------
>
> Key: TUSCANY-587
> URL: http://issues.apache.org/jira/browse/TUSCANY-587
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
>
> When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Resolved: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=all ]
Pete Robbins resolved TUSCANY-587.
----------------------------------
Fix Version/s: Cpp-current
Resolution: Fixed
> WSDL XSD is read incorrectly.
> -----------------------------
>
> Key: TUSCANY-587
> URL: http://issues.apache.org/jira/browse/TUSCANY-587
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
> Assigned To: Pete Robbins
> Fix For: Cpp-current
>
>
> When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Commented: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by "Geoff Winn (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=comments#action_12425755 ]
Geoff Winn commented on TUSCANY-587:
------------------------------------
There is more to this than I first thought. The problem is exhibited by the following schema
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
elementFormDefault="qualified" >
<xs:group name="Wrapper">
<xs:choice>
<xs:element name="import" type="xs:string" />
<xs:element name="types" type="xs:string" />
<xs:element name="message" type="xs:string" />
</xs:choice>
</xs:group>
<xs:complexType name="tDefinitions" >
<xs:complexContent>
<xs:sequence>
<xs:group ref="wsdl:Wrapper" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="targetNamespace" type="xs:anyURI" use="optional" />
<xs:attribute name="name" type="xs:NCName" use="optional" />
</xs:complexContent>
</xs:complexType>
</xs:schema>
The imprtant line is the group ref. The group consists of a choice of three elements and the group ref allows unbounded repeats. After reading this xsd, SDO ought to generate a type containing three properties, import, types and message, all of which are many valued. In fact they are all single valued, so SDO has failed to process the attributes on the group ref.
> WSDL XSD is read incorrectly.
> -----------------------------
>
> Key: TUSCANY-587
> URL: http://issues.apache.org/jira/browse/TUSCANY-587
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
>
> When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Assigned: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=all ]
Pete Robbins reassigned TUSCANY-587:
------------------------------------
Assignee: Pete Robbins
> WSDL XSD is read incorrectly.
> -----------------------------
>
> Key: TUSCANY-587
> URL: http://issues.apache.org/jira/browse/TUSCANY-587
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
> Assigned To: Pete Robbins
>
> When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
[jira] Closed: (TUSCANY-587) WSDL XSD is read incorrectly.
Posted by "Pete Robbins (JIRA)" <tu...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/TUSCANY-587?page=all ]
Pete Robbins closed TUSCANY-587.
--------------------------------
> WSDL XSD is read incorrectly.
> -----------------------------
>
> Key: TUSCANY-587
> URL: http://issues.apache.org/jira/browse/TUSCANY-587
> Project: Tuscany
> Issue Type: Bug
> Components: C++ SDO
> Affects Versions: Cpp-current
> Environment: All platforms
> Reporter: Geoff Winn
> Assigned To: Pete Robbins
> Fix For: Cpp-current
>
>
> When SDO for C++ reads the WSDL XSD (http://scemas.xmlsoap.org/wsdl/2003-02-11.xsd) some properties that are in fact many valued are identified in the internal model as single valued.
--
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: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org