2002/ws/desc/test-suite/results-messages generate-xpath-assertions.xslt,1.25,1.26

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

2002/ws/desc/test-suite/results-messages generate-xpath-assertions.xslt,1.25,1.26

Philippe Le Hegaret via cvs-syncmail

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

Modified Files:
        generate-xpath-assertions.xslt
Log Message:
Added WS-Addressing Metadata Action support.

Index: generate-xpath-assertions.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/generate-xpath-assertions.xslt,v
retrieving revision 1.25
retrieving revision 1.26
diff -C 2 -d -r1.25 -r1.26
*** generate-xpath-assertions.xslt 23 Mar 2007 05:50:53 -0000 1.25
--- generate-xpath-assertions.xslt 9 Jul 2007 18:51:57 -0000 1.26
***************
*** 12,16 ****
  xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module"
  xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
! xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">
 
  <xsl:output method="xml" indent="yes"/>
--- 12,20 ----
  xmlns:module="http://www.w3.org/2002/ws/desc/6/10/test-module"
  xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"
! xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/"
! xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
! xmlns:wsa="http://www.w3.org/2005/08/addressing"
! xmlns:wsp="http://www.w3.org/ns/ws-policy"
! >
 
  <xsl:output method="xml" indent="yes"/>
***************
*** 260,264 ****
  </xsl:when>
  <xsl:otherwise>
! <assertion><xsl:value-of select="$msg"/>/l:content/soap12:Envelope</assertion>
  </xsl:otherwise>
  </xsl:choose>
--- 264,275 ----
  </xsl:when>
  <xsl:otherwise>
!  <assertion><xsl:value-of select="$msg"/>/l:content/soap12:Envelope</assertion>
!  <xsl:if test='wsp:Policy/wsp:All/wsam:Addressing[not(@wsp:Optional)]'>
!    <xsl:if test="wsa:Action">
!      <assertion><xsl:value-of select="$msg"/>/l:content/soap12:Envelope/soap:Header/wsa:To</assertion>
!      <assertion><xsl:value-of select="$msg"/>/l:content/soap12:Envelope/soap:Header/wsa:Action="<xsl:value-of
!      select="wsa:Action"/>"</assertion>      
!    </xsl:if>
!  </xsl:if>
  </xsl:otherwise>
  </xsl:choose>