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

2002/ws/desc/test-suite/results canonicalize-wsdlcm.xslt,1.3,1.4 canonicalize-id-wsdlcm.xslt,1.1,1.2

From: Jonathan Marsh via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 08 May 2006 16:53:25 +0000
To: public-ws-desc-eds@w3.org
Message-Id: <E1Fd8z7-0001WV-Sl@lionel-hutz.w3.org>

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

Modified Files:
	canonicalize-wsdlcm.xslt canonicalize-id-wsdlcm.xslt 
Log Message:
Fixed identity transform for child-less nodes.

Index: canonicalize-wsdlcm.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results/canonicalize-wsdlcm.xslt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** canonicalize-wsdlcm.xslt	4 May 2006 19:31:31 -0000	1.3
--- canonicalize-wsdlcm.xslt	8 May 2006 16:53:23 -0000	1.4
***************
*** 1,5 ****
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdlcm="http://www.w3.org/2002/ws/desc/wsdl/component">
! 	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
  	
  	<!--
--- 1,5 ----
  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdlcm="http://www.w3.org/2002/ws/desc/wsdl/component">
! 	<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="no"/>
  	
  	<!--
***************
*** 11,24 ****
  
  	<!-- identity transform -->
- 	<xsl:template match="*">
- 		<xsl:copy>
- 			<xsl:apply-templates select="@*"/>
- 			<xsl:apply-templates/>
- 		</xsl:copy>
- 	</xsl:template>
  	<xsl:template match="*[not(node())]">
  		<!-- prevent unwanted whitespace from distracting human readers ;-) -->
  		<xsl:copy>
  			<xsl:apply-templates select="@*"/>
  		</xsl:copy>
  	</xsl:template>
--- 11,22 ----
  
  	<!-- identity transform -->
  	<xsl:template match="*[not(node())]">
  		<!-- prevent unwanted whitespace from distracting human readers ;-) -->
+ 		<xsl:copy><xsl:apply-templates select="@*"/></xsl:copy>
+ 	</xsl:template>
+ 	<xsl:template match="*">
  		<xsl:copy>
  			<xsl:apply-templates select="@*"/>
+ 			<xsl:apply-templates/>
  		</xsl:copy>
  	</xsl:template>

Index: canonicalize-id-wsdlcm.xslt
===================================================================
RCS file: /sources/public/2002/ws/desc/test-suite/results/canonicalize-id-wsdlcm.xslt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** canonicalize-id-wsdlcm.xslt	4 May 2006 03:19:38 -0000	1.1
--- canonicalize-id-wsdlcm.xslt	8 May 2006 16:53:23 -0000	1.2
***************
*** 10,23 ****
  
  	<!-- identity transform -->
- 	<xsl:template match="*">
- 		<xsl:copy>
- 			<xsl:apply-templates select="@*"/>
- 			<xsl:apply-templates/>
- 		</xsl:copy>
- 	</xsl:template>
  	<xsl:template match="*[not(node())]">
  		<!-- prevent unwanted whitespace from distracting human readers ;-) -->
  		<xsl:copy>
  			<xsl:apply-templates select="@*"/>
  		</xsl:copy>
  	</xsl:template>
--- 10,21 ----
  
  	<!-- identity transform -->
  	<xsl:template match="*[not(node())]">
  		<!-- prevent unwanted whitespace from distracting human readers ;-) -->
+ 		<xsl:copy><xsl:apply-templates select="@*"/></xsl:copy>
+ 	</xsl:template>
+ 	<xsl:template match="*">
  		<xsl:copy>
  			<xsl:apply-templates select="@*"/>
+ 			<xsl:apply-templates/>
  		</xsl:copy>
  	</xsl:template>
Received on Monday, 8 May 2006 16:53:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 8 May 2006 16:53:38 GMT