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

2002/ws/desc/test-suite/results-messages ws-i.xsl,1.2,1.3

From: Philippe Le Hegaret via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 16 Nov 2006 23:41:21 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1GkqrB-0005lc-Nf@lionel-hutz.w3.org>

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

Modified Files:
	ws-i.xsl 
Log Message:
Keep message content escaping if it contains "<!DOCTYPE"
 (that's not a SOAP message anyway)


Index: ws-i.xsl
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results-messages/ws-i.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** ws-i.xsl	16 Nov 2006 17:34:51 -0000	1.2
--- ws-i.xsl	16 Nov 2006 23:41:19 -0000	1.3
***************
*** 50,54 ****
  				  </httpHeaders>
  				  <content>
! 				    <xsl:value-of select="$content" disable-output-escaping="yes"/>
  				  </content>
  				</message>
--- 50,61 ----
  				  </httpHeaders>
  				  <content>
! 				    <xsl:choose>
! 				      <xsl:when test='contains($content, "&lt;!DOCTYPE")'>					
! 					<xsl:value-of select="$content" />
! 				      </xsl:when>
! 				      <xsl:otherwise>
! 					<xsl:value-of select="$content" disable-output-escaping="yes"/>
! 				      </xsl:otherwise>
! 				    </xsl:choose>
  				  </content>
  				</message>
***************
*** 90,94 ****
  				  </httpHeaders>
  				  <content>
! 				    <xsl:value-of select="$content" disable-output-escaping="yes"/>
  				  </content>
  				</message>
--- 97,108 ----
  				  </httpHeaders>
  				  <content>
! 				    <xsl:choose>
! 				      <xsl:when test='contains($content, "&lt;!DOCTYPE")'>					
! 					<xsl:value-of select="$content" />
! 				      </xsl:when>
! 				      <xsl:otherwise>
! 					<xsl:value-of select="$content" disable-output-escaping="yes"/>
! 				      </xsl:otherwise>
! 				    </xsl:choose>
  				  </content>
  				</message>
***************
*** 239,243 ****
  	    </xsl:when>
  	    <xsl:when test='contains($text, "=")'>
! 	      <xsl:element name='{substring-before($text, "=")}'><xsl:value-of select='substring-after($text, "=")'/></xsl:element>
  	    </xsl:when>
  	  </xsl:choose>
--- 253,257 ----
  	    </xsl:when>
  	    <xsl:when test='contains($text, "=")'>
! 	      <xsl:element name='{normalize-space(substring-before($text, "="))}'><xsl:value-of select='substring-after($text, "=")'/></xsl:element>
  	    </xsl:when>
  	  </xsl:choose>
Received on Thursday, 16 November 2006 23:41:36 UTC

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