- From: Arthur Ryman <aryman@dev.w3.org>
- Date: Mon, 07 Feb 2005 16:31:59 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/documents/bad/Import-1B In directory hutz:/tmp/cvs-serv19039/documents/bad/Import-1B Added Files: name.xsd XSDImport.wsdl Log Message: Applied patch from Lawrence Mandel to add test cases. See http://lists.w3.org/Archives/Public/www-ws-desc/2005Feb/0017.html --- NEW FILE: XSDImport.wsdl --- <?xml version="1.0" encoding="UTF-8"?> <wsdl:description targetNamespace="http://example.org/XSDImport" xmlns:name="http://example.org/name" xmlns:wsdl="http://www.w3.org/2004/08/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2004/08/wsdl ../../../xmlcatalog/wsdl/wsdl20.xsd http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd"> <wsdl:documentation> This test shows an invalid use of an XML schema import. </wsdl:documentation> <wsdl:types> <xs:schema> <xs:import schemaLocation="name.xsd" namespace="http://example.org/name" /> </xs:schema> </wsdl:types> <wsdl:interface name="Names"> <wsdl:operation name="getNameFromSIN" pattern="http://www.w3.org/2004/08/wsdl/in-out"> <wsdl:input element="name:SIN"/> <wsdl:output element="name:Name"/> </wsdl:operation> </wsdl:interface> </wsdl:description> --- NEW FILE: name.xsd --- <?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org/name" xmlns:tns="http://example.org/name" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema ../../../xmlcatalog/xsd/XMLSchema.xsd"> <!-- This document is used as a sample XML schema document. --> <element name="Name"> <complexType> <sequence> <element name="FirstName" type="string"></element> <element name="LastName" type="string"></element> </sequence> </complexType> </element> <element name="SIN" type="string"/> </schema>
Received on Monday, 7 February 2005 16:32:02 UTC