- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 16 Nov 2006 17:09:25 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Schema-3B In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/Schema-3B Added Files: TestMetadata.xml Schema.wsdl Schema.xsd 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. This test violates assertions Types-1300000, Types-1300001 and Description-0024. </wsdl:documentation> <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-3B </Identifier> <Title>Bad Document Schema-3B</Title> <Purpose></Purpose> <Description></Description> <Status>accepted</Status> <SpecRef></SpecRef> <Preconditions>none</Preconditions> <Inputs> <Input role="root">Schema.wsdl</Input> <Input>Schema.xsd</Input> </Inputs> <ExpectedResults> <Successful>false</Successful> <ViolatesAssertion>Types-1300000</ViolatesAssertion> <ViolatesAssertion>Types-1300001</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#Description-0024</Reference></SeeAlso> </TestMetadata> --- NEW FILE: Schema.xsd --- <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/Person/"> <element name="name" type="string"/> </schema>
Received on Thursday, 16 November 2006 17:10:16 UTC