commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r954081 - /commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl
Date Sat, 12 Jun 2010 19:37:44 GMT
Author: jbeard
Date: Sat Jun 12 19:37:44 2010
New Revision: 954081

URL: http://svn.apache.org/viewvc?rev=954081&view=rev
Log:
Fixed small bug.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl?rev=954081&r1=954080&r2=954081&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/computeLCA.xsl Sat Jun 12 19:37:44
2010
@@ -68,11 +68,12 @@
 
 		<xsl:variable name="parent" select="$current/parent::*"/>
 
-		<c:state>
-			<xsl:value-of select="$parent/@id"/>
-		</c:state>
-
 		<xsl:if test="not($current=$end)">
+
+			<c:state>
+				<xsl:value-of select="$parent/@id"/>
+			</c:state>
+
 			<xsl:call-template name="genStateTree">
 				<xsl:with-param name="current" select="$parent"/>
 				<xsl:with-param name="end" select="$end"/>



Mime
View raw message