You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by jb...@apache.org on 2010/06/27 04:27:04 UTC

svn commit: r958316 - in /commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt: backends/js/ ir-compiler/

Author: jbeard
Date: Sun Jun 27 02:27:03 2010
New Revision: 958316

URL: http://svn.apache.org/viewvc?rev=958316&view=rev
Log:
Refactored scxml-js namespace URI used in xsl stylesheets.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractEnumeratedStatechartGenerator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StatePatternStatechartGenerator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StateTableStatechartGenerator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/SwitchyardStatechartGenerator.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendBasicStateInformation.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendStateInformation.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendTransitionInformation.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/changeTransitionsPointingToCompoundStatesToPointToInitialStates.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/computeLCA.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/enumerateEvents.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/flattenTransitions.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/nameTransitions.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/numberStatesAndTransitions.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/splitTransitionTargets.xsl
    commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/transformIf.xsl

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractEnumeratedStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractEnumeratedStatechartGenerator.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractEnumeratedStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractEnumeratedStatechartGenerator.xsl Sun Jun 27 02:27:03 2010
@@ -17,7 +17,7 @@
 -->
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 
 	<import href="AbstractStatechartGenerator.xsl"/>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/AbstractStatechartGenerator.xsl Sun Jun 27 02:27:03 2010
@@ -17,7 +17,7 @@
 -->
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<output method="text"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StatePatternStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StatePatternStatechartGenerator.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StatePatternStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StatePatternStatechartGenerator.xsl Sun Jun 27 02:27:03 2010
@@ -17,7 +17,7 @@
 -->
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 
 	<import href="AbstractStatechartGenerator.xsl"/>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StateTableStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StateTableStatechartGenerator.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StateTableStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/StateTableStatechartGenerator.xsl Sun Jun 27 02:27:03 2010
@@ -17,7 +17,7 @@
 -->
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 
 	<import href="AbstractEnumeratedStatechartGenerator.xsl"/>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/SwitchyardStatechartGenerator.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/SwitchyardStatechartGenerator.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/SwitchyardStatechartGenerator.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/backends/js/SwitchyardStatechartGenerator.xsl Sun Jun 27 02:27:03 2010
@@ -17,7 +17,7 @@
 -->
 <stylesheet xmlns="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 
 	<import href="AbstractEnumeratedStatechartGenerator.xsl"/>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendBasicStateInformation.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendBasicStateInformation.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendBasicStateInformation.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendBasicStateInformation.xsl Sun Jun 27 02:27:03 2010
@@ -22,7 +22,7 @@ isHistory="true" to history states.
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 
@@ -38,12 +38,12 @@ isHistory="true" to history states.
 		<xsl:copy>
 			<xsl:apply-templates select="@*"/>
 
-			<xsl:attribute name="isBasic" namespace="urn://scxml-js">
+			<xsl:attribute name="isBasic" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="'true'"/>
 			</xsl:attribute> 
 
 			<xsl:if test="./self::s:history">
-				<xsl:attribute name="isHistory" namespace="urn://scxml-js">
+				<xsl:attribute name="isHistory" namespace="http://commons.apache.org/scxml-js">
 					<xsl:value-of select="'true'"/>
 				</xsl:attribute> 
 			</xsl:if>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendStateInformation.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendStateInformation.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendStateInformation.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendStateInformation.xsl Sun Jun 27 02:27:03 2010
@@ -22,7 +22,7 @@ descendants of children of <parallel> st
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 
@@ -37,7 +37,7 @@ descendants of children of <parallel> st
 		<xsl:copy>
 			<xsl:apply-templates select="@*"/>
 
-			<xsl:attribute name="isParallelSubstate" namespace="urn://scxml-js">
+			<xsl:attribute name="isParallelSubstate" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="'true'"/>
 			</xsl:attribute> 
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendTransitionInformation.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendTransitionInformation.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendTransitionInformation.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/appendTransitionInformation.xsl Sun Jun 27 02:27:03 2010
@@ -29,7 +29,7 @@ state
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 
@@ -62,7 +62,7 @@ state
 				then we say he exits exitsParallelRegion -->
 			<xsl:if test="$sourceParallelRegion 
 					and not($sourceParallelRegion = $targetParallelRegion)">
-				<xsl:attribute name="exitsParallelRegion" namespace="urn://scxml-js">
+				<xsl:attribute name="exitsParallelRegion" namespace="http://commons.apache.org/scxml-js">
 					<xsl:value-of select="'true'"/>
 				</xsl:attribute> 
 			</xsl:if>
@@ -74,7 +74,7 @@ state
 			<xsl:variable name="targetParallel" select="$targetState/ancestor-or-self::s:parallel[1]"/>
 
 			<xsl:if test="$sourceParallel and not($sourceParallel = $targetParallel)">
-				<xsl:attribute name="isPreempted" namespace="urn://scxml-js">
+				<xsl:attribute name="isPreempted" namespace="http://commons.apache.org/scxml-js">
 					<xsl:value-of select="'true'"/>
 				</xsl:attribute> 
 			</xsl:if>

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/changeTransitionsPointingToCompoundStatesToPointToInitialStates.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/changeTransitionsPointingToCompoundStatesToPointToInitialStates.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/changeTransitionsPointingToCompoundStatesToPointToInitialStates.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/changeTransitionsPointingToCompoundStatesToPointToInitialStates.xsl Sun Jun 27 02:27:03 2010
@@ -25,7 +25,7 @@ elements, so this should still generate 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/computeLCA.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/computeLCA.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/computeLCA.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/computeLCA.xsl Sun Jun 27 02:27:03 2010
@@ -26,7 +26,7 @@ to the input document as children in the
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/enumerateEvents.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/enumerateEvents.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/enumerateEvents.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/enumerateEvents.xsl Sun Jun 27 02:27:03 2010
@@ -22,7 +22,7 @@ source document under the namespaced <ev
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/flattenTransitions.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/flattenTransitions.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/flattenTransitions.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/flattenTransitions.xsl Sun Jun 27 02:27:03 2010
@@ -24,7 +24,7 @@ collision. 
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/nameTransitions.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/nameTransitions.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/nameTransitions.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/nameTransitions.xsl Sun Jun 27 02:27:03 2010
@@ -30,7 +30,7 @@ enuemrated statechart backends.
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 
@@ -57,7 +57,7 @@ enuemrated statechart backends.
 		<xsl:copy>
 			<xsl:apply-templates select="@*"/>
 
-			<xsl:attribute name="tName" namespace="urn://scxml-js">
+			<xsl:attribute name="tName" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="concat(../@id,'_',$eventName)"/>
 			</xsl:attribute>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/numberStatesAndTransitions.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/numberStatesAndTransitions.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/numberStatesAndTransitions.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/numberStatesAndTransitions.xsl Sun Jun 27 02:27:03 2010
@@ -2,7 +2,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 
@@ -46,11 +46,11 @@
 				but it's not clear how else to get the position of a given node out of a node list...
 			-->
 
-			<xsl:attribute name="enumId" namespace="urn://scxml-js">
+			<xsl:attribute name="enumId" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="concat(@id,'_id')"/>
 			</xsl:attribute>
 
-			<xsl:attribute name="stateNum" namespace="urn://scxml-js">
+			<xsl:attribute name="stateNum" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="$stateNum"/>
 			</xsl:attribute>
 
@@ -89,7 +89,7 @@
 				but it's not clear how else to get the position of a given node out of a node list...
 			-->
 
-			<xsl:attribute name="tNum" namespace="urn://scxml-js">
+			<xsl:attribute name="tNum" namespace="http://commons.apache.org/scxml-js">
 				<xsl:value-of select="$transitionNum"/>
 			</xsl:attribute>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/splitTransitionTargets.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/splitTransitionTargets.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/splitTransitionTargets.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/splitTransitionTargets.xsl Sun Jun 27 02:27:03 2010
@@ -2,7 +2,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>
 

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/transformIf.xsl
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/transformIf.xsl?rev=958316&r1=958315&r2=958316&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/transformIf.xsl (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/src/xslt/ir-compiler/transformIf.xsl Sun Jun 27 02:27:03 2010
@@ -2,7 +2,7 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
 	xmlns:s="http://www.w3.org/2005/07/scxml"
 	xmlns="http://www.w3.org/2005/07/scxml"
-	xmlns:c="urn://scxml-js"
+	xmlns:c="http://commons.apache.org/scxml-js"
 	version="1.0">
 	<xsl:output method="xml"/>