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

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