- From: Arthur Ryman via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Nov 2006 23:12:44 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/xmlcatalog/schematron In directory hutz:/tmp/cvs-serv7308/test-suite/xmlcatalog/schematron Modified Files: wsdlcm.sch Log Message: working on wsdlcm schematron Index: wsdlcm.sch =================================================================== RCS file: /sources/public/2002/ws/desc/test-suite/xmlcatalog/schematron/wsdlcm.sch,v retrieving revision 1.2 retrieving revision 1.3 diff -C 2 -d -r1.2 -r1.3 *** wsdlcm.sch 17 Nov 2006 22:46:00 -0000 1.2 --- wsdlcm.sch 17 Nov 2006 23:12:41 -0000 1.3 *************** *** 13,24 **** --> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron"> <sch:title> W3C WSDL 2.0 Component Model Interchange Format Schematron Schema </sch:title> <sch:ns prefix="cm" uri="http://www.w3.org/2002/ws/desc/wsdl/component" /> <sch:ns prefix="cmextensions" uri="http://www.w3.org/2002/ws/desc/wsdl/component-extensions" /> ! </sch:schema> \ No newline at end of file --- 13,64 ---- --> <sch:schema xmlns:sch="http://www.ascc.net/xml/schematron"> + <sch:title> W3C WSDL 2.0 Component Model Interchange Format Schematron Schema </sch:title> + <sch:ns prefix="cm" uri="http://www.w3.org/2002/ws/desc/wsdl/component" /> + <sch:ns prefix="cmbase" + uri="http://www.w3.org/2002/ws/desc/wsdl/component-base" /> <sch:ns prefix="cmextensions" uri="http://www.w3.org/2002/ws/desc/wsdl/component-extensions" /> ! <sch:ns prefix="cmhttp" ! uri="http://www.w3.org/2002/ws/desc/wsdl/component-http" /> ! <sch:ns prefix="cmrpc" ! uri="http://www.w3.org/2002/ws/desc/wsdl/component-rpc" /> ! <sch:ns prefix="cmsoap" ! uri="http://www.w3.org/2002/ws/desc/wsdl/component-soap" /> ! ! <sch:pattern name="RPC Interface Operation Extension"> ! <sch:rule context="wsdl:binding[not(@interface)]"> ! <sch:report test="wsdl:operation" ! diagnostics="report-operation"> ! Generic binding contains an operation. ! </sch:report> ! </sch:rule> ! <sch:rule context="wsdl:binding/wsdl:operation"> ! <sch:assert test="../@interface" ! diagnostics="generic-binding-contains-operation"> ! An operation binding MUST belong to an interface. ! </sch:assert> ! </sch:rule> ! </sch:pattern> ! ! <sch:diagnostics> ! <sch:diagnostic id="generic-binding-contains-operation"> ! operation ! <sch:value-of select="@ref" /> ! is contained in generic binding ! <sch:value-of select="../@name" /> ! </sch:diagnostic> ! <sch:diagnostic id="report-operation"> ! The generic binding ! <sch:value-of select="@name" /> ! contains the operation ! <sch:value-of select="wsdl:operation[1]/@ref" /> ! </sch:diagnostic> ! </sch:diagnostics> ! </sch:schema> \ No newline at end of file
Received on Friday, 17 November 2006 23:12:54 UTC