commons-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=954064&view=rev
Log:
XSLT State implementation works now.

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

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/AbstractStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/AbstractStatechartGenerator.xsl?rev=954064&r1=954063&r2=954064&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/AbstractStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/test/xslt/AbstractStatechartGenerator.xsl Sat
Jun 12 19:35:41 2010
@@ -131,7 +131,7 @@
 			</choose>
 		</variable>
 
-		<variable name="historyState" select="$state/history"/>
+		<variable name="historyState" select="$state/s:history"/>
 		
 		<variable name="constructorFunctionName" select="concat($stateName,'Constructor')"/>
 
@@ -181,7 +181,7 @@
 						console.log("exiting <value-of select="$stateName"/>" );
 					</if>
 
-					<if test="historyState">
+					<if test="$historyState">
 						this.historyState.lastConfiguration = currentConfiguration.slice();
 					</if>
 
@@ -479,7 +479,7 @@
 
 			var historyState = <value-of select="$historyStateReference"/>;
 
-			<if test="isDeep">
+			<if test="not($isDeep)">
 				var newConfiguration = [];
 			</if>
 
@@ -603,7 +603,7 @@
 
 
 		//set whether preempted
-		<if test="$t/@isPreempted">
+		<if test="$t/@c:isPreempted">
 			isPreempted = true;
 		</if>
 	</template>



Mime
View raw message