2002/ws/desc/test-suite/documents/bad/Schema-4B TestMetadata.xml,NONE,1.1 Schema.xsd,NONE,1.1 Schema.wsdl,NONE,1.1

Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Schema-4B
In directory hutz:/tmp/cvs-serv22457/test-suite/documents/bad/Schema-4B

Added Files:
	TestMetadata.xml Schema.xsd 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. Namespaces imported in
		inline schemas are not visible to the WSDL document.
		
		This test violates assertions Types-1300000,
		Types-1300001, Types-1300002 and Description-0024.
	</wsdl:documentation>
	
	<wsdl:types>
		<xs:schema targetNamespace="http://example.org/">
			<xs:import namespace="http://example.org/Person/" schemaLocation="Schema.xsd"/>
		</xs:schema>
	</wsdl:types>
	
	<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-4B
	</Identifier>
	<Title>Bad Document Schema-4B</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>Types-1300002</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-1300002</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:09:57 UTC