W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > November 2006

2002/ws/desc/test-suite/results-messages generate-xpath-assertions.xslt,1.5,1.6

From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 18 Nov 2006 13:32:31 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1GlQJ5-0003g0-0c@lionel-hutz.w3.org>

Update of /sources/public/2002/ws/desc/test-suite/results-messages
In directory hutz:/tmp/cvs-serv14111

Modified Files:
	generate-xpath-assertions.xslt 
Log Message:
Fixed Subcode check


Index: generate-xpath-assertions.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/generate-xpath-assertions.xslt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** generate-xpath-assertions.xslt	18 Nov 2006 13:14:27 -0000	1.5
--- generate-xpath-assertions.xslt	18 Nov 2006 13:32:28 -0000	1.6
***************
*** 100,107 ****
            </xsl:if>
            <xsl:for-each select='m:fault/m:soapFaultSubcode[@type="code"]'>
!             <assertion>contains(<xsl:value-of select='$msg'/>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code//soap12:Subcode/soap12:Value, "<xsl:value-of select='@localName'/>")</assertion>
            </xsl:for-each>
            <xsl:if test='m:fault/m:contentModel'>
!             <assertion><xsl:value-of select='$msg'/>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail[<xsl:text>local-name()="</xsl:text>
              <xsl:value-of select='m:fault/m:contentModel/@localName'/>" and namespace-uri()="<xsl:value-of select='m:fault/m:contentModel/@namespace'/>"]</assertion>
            </xsl:if>
--- 100,107 ----
            </xsl:if>
            <xsl:for-each select='m:fault/m:soapFaultSubcode[@type="code"]'>
!             <assertion><xsl:value-of select='$msg'/>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code//soap12:Subcode/soap12:Value[contains(text(), "<xsl:value-of select='@localName'/>")]</assertion>
            </xsl:for-each>
            <xsl:if test='m:fault/m:contentModel'>
!             <assertion><xsl:value-of select='$msg'/>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Detail/*[<xsl:text>local-name()="</xsl:text>
              <xsl:value-of select='m:fault/m:contentModel/@localName'/>" and namespace-uri()="<xsl:value-of select='m:fault/m:contentModel/@namespace'/>"]</assertion>
            </xsl:if>
Received on Saturday, 18 November 2006 13:32:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:32:24 UTC