- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Nov 2006 17:09:23 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Schema-5B In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/Schema-5B Added Files: TestMetadata.xml SchemaContainer.wsdl Schema.wsdl Log Message: Applied patch http://lists.w3.org/Archives/Public/www-ws-desc/2006Nov/0033.html. --- NEW FILE: Schema.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org/" xmlns:person="http://example.org/Person/"> <wsdl:documentation> This test shows an invalid use of a schema QName reference. The input and output elements reference the name element in the namespace http://example.org/Person/ but this namespace has not been imported properly. Inline schemas defined in an imported WSDL document are not imported along with the WSDL document. This test violates assertions Types-1300000, Types-1300001, Types-1300003 and Description-0024. </wsdl:documentation> <wsdl:import namespace="http://example.org/Container/" location="SchemaContainer.wsdl"/> <wsdl:interface name="People"> <wsdl:operation name="getPerson" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <wsdl:input element="person:name"></wsdl:input> <wsdl:output element="person:name"></wsdl:output> </wsdl:operation> </wsdl:interface> </wsdl:description> --- NEW FILE: TestMetadata.xml --- <?xml version="1.0"?> <TestMetadata xmlns="http://www.w3.org/2006/02/wsdl/TestMetadata"> <Identifier> http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/bad/Schema-5B </Identifier> <Title>Bad Document Schema-5B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">Schema.wsdl</Input> <Input>SchemaContainer.wsdl</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>Types-1300000</ViolatesAssertion> <ViolatesAssertion>Types-1300001</ViolatesAssertion> <ViolatesAssertion>Types-1300003</ViolatesAssertion> <ViolatesAssertion>Description-0024</ViolatesAssertion> </ExpectedResults> <Version>1.0</Version> <Contributor> <Name>Lawrence Mandel</Name> <Affiliation>IBM</Affiliation> <EMail>lmandel@ca.ibm.com</EMail> </Contributor> <Rights>http://www.w3.org/Consortium/Legal/2002/copyright-documents-20021231</Rights> <Grouping>/documents/bad</Grouping> <SeeAlso><Reference>http://www.w3.org/TR/wsdl20-adjuncts#Types-1300000</Reference> <Reference>http://www.w3.org/TR/wsdl20-adjuncts#Types-1300001</Reference> <Reference>http://www.w3.org/TR/wsdl20-adjuncts#Types-1300003</Reference> <Reference>http://www.w3.org/TR/wsdl20-adjuncts#Description-0024</Reference></SeeAlso> </TestMetadata> --- NEW FILE: SchemaContainer.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/Container/" xmlns:wsdl="http://www.w3.org/2006/01/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org/Container/" xmlns:person="http://example.org/Person/"> <wsdl:documentation> This test shows an invalid use of a schema QName reference. The input and output elements reference the name element in the namespace http://example.org/Person/ but this namespace has not been imported properly. Inline schemas defined in an imported WSDL document are not imported along with the WSDL document. This test violates assertions Types-1300000, Types-1300001, Types-1300003 and Description-0024. </wsdl:documentation> <wsdl:types> <xs:schema targetNamespace="http://example.org/Person/"> <xs:element name="name" type="string"/> </xs:schema> </wsdl:types> </wsdl:description>
Received on Thursday, 16 November 2006 17:09:38 UTC