2002/ws/desc/test-suite/results/wsdl-xslt wsdl-component-model.xslt,1.5,1.6

Update of /sources/public/2002/ws/desc/test-suite/results/wsdl-xslt
In directory hutz:/tmp/cvs-serv31300/test-suite/results/wsdl-xslt

Modified Files:
	wsdl-component-model.xslt 
Log Message:
Added wrpc namespace support to wsdl-xslt.  Updated baseline and reports.

Index: wsdl-component-model.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results/wsdl-xslt/wsdl-component-model.xslt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** wsdl-component-model.xslt	24 May 2006 19:27:28 -0000	1.5
--- wsdl-component-model.xslt	25 May 2006 19:29:24 -0000	1.6
***************
*** 3,6 ****
--- 3,7 ----
      xmlns:wsdl="http://www.w3.org/2006/01/wsdl"
      xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap"
+     xmlns:wrpc="http://www.w3.org/2006/01/wsdl/rpc"
      xmlns:wsdlx="http://www.w3.org/2006/01/wsdl-extensions"
      xmlns="http://www.w3.org/2002/ws/desc/wsdl/component"
***************
*** 10,14 ****
      xmlns:rpccm="http://www.w3.org/2002/ws/desc/wsdl/component-rpc"
      xmlns:soapcm="http://www.w3.org/2002/ws/desc/wsdl/component-soap"
!     xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="wsdl wsoap xs wsdlx">
      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
      <!--
--- 11,15 ----
      xmlns:rpccm="http://www.w3.org/2002/ws/desc/wsdl/component-rpc"
      xmlns:soapcm="http://www.w3.org/2002/ws/desc/wsdl/component-soap"
!     xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="wsdl wsoap xs wsdlx wrpc">
      <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
      <!--
***************
*** 206,213 ****
                  </xsl:choose>
              </extcm:safety>
          </interfaceOperationComponent>
      </xsl:template>
      <!--
!         Recursive named template to convert a space-separated list into xml substructure
      -->
      <xsl:template name="split-style">
--- 207,247 ----
                  </xsl:choose>
              </extcm:safety>
+             <xsl:if test="@wrpc:signature">
+                 <rpccm:rpcSignature>
+                     <xsl:call-template name="split-rpc">
+                         <xsl:with-param name="list" select="@wrpc:signature"/>
+                     </xsl:call-template>
+                 </rpccm:rpcSignature>
+             </xsl:if>
          </interfaceOperationComponent>
      </xsl:template>
      <!--
!         Recursive named template to convert the rpc signature micro-syntax into xml substructure
!     -->
!     <xsl:template name="split-rpc">
!         <xsl:param name="list"/>
!         <xsl:if test="$list!=''">
!             <xsl:variable name="qname" select="substring-before($list,' ')"/>
!             <xsl:variable name="remainder" select="substring-after($list,' ')"/>
!             <xsl:variable name="token" select="substring-before(concat($remainder,' '),' ')"/>
!             <rpccm:argument>
!                 <rpccm:name>
!                     <basecm:namespaceName>
!                         <xsl:value-of select="namespace::*[local-name()=substring-before($qname,':')]"/>
!                     </basecm:namespaceName>
!                     <basecm:localName>
!                         <xsl:value-of select="substring-after($qname,':')"/>
!                     </basecm:localName>
!                 </rpccm:name>
!                 <rpccm:direction><xsl:value-of select="$token"/></rpccm:direction>
!             </rpccm:argument>
!             <xsl:call-template name="split-rpc">
!                 <xsl:with-param name="list" select="substring-after($remainder,' ')"/>
!             </xsl:call-template>
!         </xsl:if>    
!     </xsl:template>
! 
!     <!--
!         Recursive named template to convert a space-separated list of styles into xml substructure
      -->
      <xsl:template name="split-style">
***************
*** 837,841 ****
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs:ID">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>
--- 871,875 ----
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs-ID">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>
***************
*** 844,848 ****
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs:IDREF">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>
--- 878,882 ----
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs-IDREF">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>
***************
*** 851,855 ****
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs:IDREFS">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>
--- 885,889 ----
              <system>http://www.w3.org/2001/XMLSchema</system>
          </typeDefinitionComponent>
!         <typeDefinitionComponent xml:id="xs-IDREFS">
              <name>
                  <basecm:namespaceName>http://www.w3.org/2001/XMLSchema</basecm:namespaceName>

Received on Thursday, 25 May 2006 19:30:03 UTC