- From: John Kaputin (gmail) <jakaputin@gmail.com>
- Date: Tue, 20 Sep 2005 15:05:52 +0100
- To: www-ws-desc@w3.org, John Kaputin <KAPUTIN@uk.ibm.com>
- Message-ID: <4c2ae8f805092007054c4d2b79@mail.gmail.com>
Could one of the Working Group editors take a look at these WSDL test cases?
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-1G/reservation.wsdl
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-2G/reservationDetails.wsdl
http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/documents/good/XsImport-3G/reservationDetails.wsdl
These 3 test cases use <xs:import> without the schemaLocation attribute, but
in all 3 the imported namespace is missing an 's' off the end (i.e.
.../reservationItems) and the prefix 'items' should be declared.
e.g.
the importing schema reservation.wsdl is currently:
<xs:schema
targetNamespace="http://greath.example.com/2004/schemas/reservationDetails">
<xs:import
namespace="http://greath.example.com/2004/schemas/reservationItem" />
<xs:element name="reservationDetails">
<xs:complexType>
<xs:sequence>
<xs:element ref="items:confirmationNumber" />
<xs:element ref="items:checkInDate" />
....
I think it should be:
<xs:schema
targetNamespace="http://greath.example.com/2004/schemas/reservationDetails"
xmlns:items="http://greath.example.com/2004/schemas/reservationItems">
<xs:import
namespace="http://greath.example.com/2004/schemas/reservationItems" />
<xs:element name="reservationDetails">
<xs:complexType>
<xs:sequence>
<xs:element ref="items:confirmationNumber" />
<xs:element ref="items:checkInDate" />
....
Received on Tuesday, 20 September 2005 14:06:07 UTC