2002/ws/desc/test-suite/results/wsdl-xslt wsdl-component-model.xslt,1.7,1.8

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

Modified Files:
	wsdl-component-model.xslt 
Log Message:
Bug fixes (qnames compare namespace in many new cases).  Doesn't affect output for current testcases.

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.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** wsdl-component-model.xslt	1 Jun 2006 22:06:03 -0000	1.7
--- wsdl-component-model.xslt	5 Jun 2006 20:58:35 -0000	1.8
***************
*** 541,546 ****
                          <xsl:when test="@whttp:method"><xsl:value-of select="@whttp:method"/></xsl:when>
                          <xsl:when test="parent::wsdl:binding/@whttp:methodDefault"><xsl:value-of select="parent::wsdl:binding/@whttp:methodDefault"/></xsl:when>
!                         <!-- Possible bug - comparison doesn't use namespace names -->
!                         <xsl:when test="$all-operations[@name=substring-after(current()/@ref,':')]/@wsdlx:safe='true'">GET</xsl:when>
                          <xsl:otherwise>POST</xsl:otherwise>
                      </xsl:choose>
--- 541,545 ----
                          <xsl:when test="@whttp:method"><xsl:value-of select="@whttp:method"/></xsl:when>
                          <xsl:when test="parent::wsdl:binding/@whttp:methodDefault"><xsl:value-of select="parent::wsdl:binding/@whttp:methodDefault"/></xsl:when>
!                         <xsl:when test="$all-operations[@name=substring-after(current()/@ref,':')][ancestor::wsdl:description/@targetNamespace=current()/namespace::*[local-name()=substring-before(current()/@ref,':')]]/@wsdlx:safe='true'">GET</xsl:when>
                          <xsl:otherwise>POST</xsl:otherwise>
                      </xsl:choose>
***************
*** 736,741 ****
              <xsl:call-template name="f-n-p"/>
              <parent ref="{generate-id($parent)}"/>
!             <!-- Possible blug - doesn't compare namespace name -->
!             <xsl:if test="$all-bindings[@name=substring-after(current()/@binding,':')]/@type='http://www.w3.org/2006/01/wsdl/http'">
                  <xsl:if test="@whttp:authenticationRealm">
                      <httpcm:httpAuthenticationRealm>
--- 735,742 ----
              <xsl:call-template name="f-n-p"/>
              <parent ref="{generate-id($parent)}"/>
!             <!-- Possible blug - doesn't compare namespace name 
!                 [ancestor::wsdl:description/@targetNamespace=current()/namespace::*[local-name()=substring-before(current()/@ref,':')]]
!             -->
!             <xsl:if test="$all-bindings[@name=substring-after(current()/@binding,':')][ancestor::wsdl:description/@targetNamespace=current()/namespace::*[local-name()=substring-before(current()/@binding,':')]]/@type='http://www.w3.org/2006/01/wsdl/http'">
                  <xsl:if test="@whttp:authenticationRealm">
                      <httpcm:httpAuthenticationRealm>
***************
*** 780,785 ****
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <!-- Possible bug - namespace-name isn't used in this comparison! -->
!         <xsl:for-each select="$all-faults[@name=$local-name]">
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
--- 781,785 ----
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-faults[@name=$local-name][ancestor::wsdl:description/@targetNamespace=$namespace-name]">
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
***************
*** 791,796 ****
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-interfaces[@name=$local-name]">
!             <!-- Possible bug - namespace-name isn't used in this comparison! -->
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
--- 791,795 ----
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-interfaces[@name=$local-name][ancestor::wsdl:description/@targetNamespace=$namespace-name]">
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
***************
*** 802,807 ****
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-operations[@name=$local-name]">
!             <!-- Possible bug - namespace-name isn't used in this comparison! -->
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
--- 801,805 ----
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-operations[@name=$local-name][ancestor::wsdl:description/@targetNamespace=$namespace-name]">
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
***************
*** 813,818 ****
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-bindings[@name=$local-name]">
!             <!-- Possible bug - namespace-name isn't used in this comparison! -->
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>
--- 811,815 ----
          <xsl:variable name="prefix" select="substring-before($name,':')"/>
          <xsl:variable name="namespace-name" select="$namespace-context/namespace::*[local-name()=$prefix]"/>
!         <xsl:for-each select="$all-bindings[@name=$local-name][ancestor::wsdl:description/@targetNamespace=$namespace-name]">
              <xsl:value-of select="generate-id(.)"/>
          </xsl:for-each>

Received on Monday, 5 June 2006 20:59:03 UTC