W3C home > Mailing lists > Public > public-ws-desc-eds@w3.org > January 2007

2002/ws/desc/test-suite/results-messages generate-xpath-assertions.xslt,1.8,1.9

From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 04 Jan 2007 20:27:01 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1H2ZAz-0000vM-5d@lionel-hutz.w3.org>

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

Modified Files:
	generate-xpath-assertions.xslt 
Log Message:
Fixed handling of soap:Code/soap:Value and soap:Subcode/soap:Value


Index: generate-xpath-assertions.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/generate-xpath-assertions.xslt,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** generate-xpath-assertions.xslt	4 Jan 2007 19:47:28 -0000	1.8
--- generate-xpath-assertions.xslt	4 Jan 2007 20:26:59 -0000	1.9
***************
*** 102,108 ****
  	    <xsl:text>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value[substring-after(.,":")="</xsl:text>
  	    <xsl:value-of select='m:fault/m:soapFaultCode/@localName'/>
! 	    <xsl:text>"][substring-before(.,":") = name(namespace::*[.="</xsl:text>
  	    <xsl:value-of select='m:fault/m:soapFaultCode/@namespace'/>
! 	    <xsl:text>"])]</xsl:text>
  	    </assertion>
            </xsl:if>
--- 102,111 ----
  	    <xsl:text>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code/soap12:Value[substring-after(.,":")="</xsl:text>
  	    <xsl:value-of select='m:fault/m:soapFaultCode/@localName'/>
! 	    <xsl:text>" or text()="</xsl:text>
! 	    <xsl:value-of select='m:fault/m:soapFaultCode/@localName'/>
! 	    <xsl:text>"][namespace::*[.="</xsl:text>
  	    <xsl:value-of select='m:fault/m:soapFaultCode/@namespace'/>
! 	    <xsl:text>" and local-name()=substring-before(..,":")</xsl:text>
! 	    <xsl:text>]]</xsl:text>
  	    </assertion>
            </xsl:if>
***************
*** 111,117 ****
  	    <xsl:text>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code//soap12:Subcode/soap12:Value[substring-after(.,":")="</xsl:text>
  	    <xsl:value-of select='@localName'/>
! 	    <xsl:text>"][substring-before(.,":") = name(namespace::*[.="</xsl:text>
  	    <xsl:value-of select='@namespace'/>
! 	    <xsl:text>"])]</xsl:text>
  	    </assertion>
            </xsl:for-each>
--- 114,123 ----
  	    <xsl:text>/l:content/soap12:Envelope/soap12:Body/soap12:Fault/soap12:Code//soap12:Subcode/soap12:Value[substring-after(.,":")="</xsl:text>
  	    <xsl:value-of select='@localName'/>
! 	    <xsl:text>" or text()="</xsl:text>
! 	    <xsl:value-of select='@localName'/>
! 	    <xsl:text>"][namespace::*[.="</xsl:text>
  	    <xsl:value-of select='@namespace'/>
! 	    <xsl:text>" and local-name()=substring-before(..,":")</xsl:text>
! 	    <xsl:text>]]</xsl:text>
  	    </assertion>
            </xsl:for-each>
Received on Thursday, 4 January 2007 20:27:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 4 January 2007 20:27:03 GMT