- From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 17 Nov 2006 12:04:23 +0000
- To: public-ws-desc-eds@w3.org
Update of /sources/public/2002/ws/desc/test-suite/results/wsdl-xslt In directory hutz:/tmp/cvs-serv28326/test-suite/results/wsdl-xslt Modified Files: wsdl-component-model.xslt Log Message: Added WSAddressing-1G testcase, regenerated all results. 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.14 retrieving revision 1.15 diff -C 2 -d -r1.14 -r1.15 *** wsdl-component-model.xslt 16 Nov 2006 16:40:15 -0000 1.14 --- wsdl-component-model.xslt 17 Nov 2006 12:04:21 -0000 1.15 *************** *** 337,340 **** --- 337,341 ---- <xsl:with-param name="name" select="@ref"/> <xsl:with-param name="namespace-context" select="."/> + <xsl:with-param name="interface" select="ancestor::wsdl:interface/@name | ancestor::wsdl:binding/@interface"/> </xsl:call-template> </xsl:attribute></interfaceFault> *************** *** 466,469 **** --- 467,471 ---- <xsl:with-param name="name" select="@ref"/> <xsl:with-param name="namespace-context" select="."/> + <xsl:with-param name="interface" select="ancestor::wsdl:binding/@interface"/> </xsl:call-template> </xsl:attribute></interfaceFault> *************** *** 544,547 **** --- 546,550 ---- <xsl:with-param name="name" select="@ref"/> <xsl:with-param name="namespace-context" select="."/> + <xsl:with-param name="interface" select="ancestor::wsdl:binding/@interface"/> </xsl:call-template> </xsl:attribute></interfaceOperation> *************** *** 722,725 **** --- 725,729 ---- <xsl:with-param name="name" select="@ref"/> <xsl:with-param name="namespace-context" select="."/> + <xsl:with-param name="interface" select="ancestor::wsdl:binding/@interface"/> </xsl:call-template> </xsl:attribute></interfaceFaultReference> *************** *** 831,840 **** <xsl:param name="name"/> <xsl:param name="namespace-context"/> <xsl:variable name="local-name" select="substring-after($name,':')"/> <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> </xsl:template> <xsl:template name="interface-ref"> --- 835,858 ---- <xsl:param name="name"/> <xsl:param name="namespace-context"/> + <xsl:param name="interface"/> + <xsl:variable name="interface-local-name"> + <xsl:choose> + <xsl:when test="contains($interface, ':')"><xsl:value-of select="substring-after($interface, ':')"/></xsl:when> + <xsl:otherwise><xsl:value-of select="$interface"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> <xsl:variable name="local-name" select="substring-after($name,':')"/> <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][ancestor::wsdl:interface/@name=normalize-space($interface-local-name)]"> <xsl:value-of select="generate-id(.)"/> </xsl:for-each> + <xsl:for-each select="$all-interfaces[@name=$interface-local-name][@extends]"> + <xsl:call-template name="fault-ref"> + <xsl:with-param name="name" select="$name"/> + <xsl:with-param name="namespace-context" select="$namespace-context"/> + <xsl:with-param name="interface" select="@extends"/> + </xsl:call-template> + </xsl:for-each> </xsl:template> <xsl:template name="interface-ref"> *************** *** 851,860 **** <xsl:param name="name"/> <xsl:param name="namespace-context"/> <xsl:variable name="local-name" select="substring-after($name,':')"/> <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> </xsl:template> <xsl:template name="message-ref"> --- 869,892 ---- <xsl:param name="name"/> <xsl:param name="namespace-context"/> + <xsl:param name="interface"/> + <xsl:variable name="interface-local-name"> + <xsl:choose> + <xsl:when test="contains($interface, ':')"><xsl:value-of select="substring-after($interface, ':')"/></xsl:when> + <xsl:otherwise><xsl:value-of select="$interface"/></xsl:otherwise> + </xsl:choose> + </xsl:variable> <xsl:variable name="local-name" select="substring-after($name,':')"/> <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][ancestor::wsdl:interface/@name=normalize-space($interface-local-name) or ancestor::wsdl:interface/@extends=normalize-space($interface-local-name)]"> <xsl:value-of select="generate-id(.)"/> </xsl:for-each> + <xsl:for-each select="$all-interfaces[@name=$interface-local-name][@extends]"> + <xsl:call-template name="operation-ref"> + <xsl:with-param name="name" select="$name"/> + <xsl:with-param name="namespace-context" select="$namespace-context"/> + <xsl:with-param name="interface" select="@extends"/> + </xsl:call-template> + </xsl:for-each> </xsl:template> <xsl:template name="message-ref">
Received on Friday, 17 November 2006 12:05:02 UTC