summaryrefslogtreecommitdiffstats
path: root/test/w3c/update-txml.sh
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
commitb62e7979600feee23dc7cdb61042a8fc7673122b (patch)
treef7351372f37979dd2d048e0b68a16a4cd3b2aadb /test/w3c/update-txml.sh
parent1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff)
downloaduscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2
Major Refactoring v2.0
Diffstat (limited to 'test/w3c/update-txml.sh')
-rwxr-xr-xtest/w3c/update-txml.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/w3c/update-txml.sh b/test/w3c/update-txml.sh
index 4a6f7fd..bcdc4c6 100755
--- a/test/w3c/update-txml.sh
+++ b/test/w3c/update-txml.sh
@@ -1,4 +1,9 @@
#!/bin/bash
+
+#
+# Download / update all SCXML IRP tests from the W3C
+#
+
wget -rl1 -Atxml,txt,xsl http://www.w3.org/Voice/2013/scxml-irp/
# wget http://www.w3.org/Voice/2013/scxml-irp/545/test545.txml
@@ -12,5 +17,5 @@ find ./www.w3.org -name "*.xsl" -exec cp {} . \;
rm -rf www.w3.org
# sed -ie "s/<xsl:attribute name=\"delayexpr\">Var<xsl:value-of select=\".\" \/><\/xsl:attribute>/<xsl:attribute name=\"delayexpr\">(Var<xsl:value-of select=\".\" \/>.slice(0, - 1)) * 50 + 'ms'<\/xsl:attribute>/" confEcma.xsl
-# sed -ie "s/<xsl:attribute name=\"delayexpr\">'<xsl:value-of select=\".\"\/>s'<\/xsl:attribute>/<xsl:attribute name=\"delayexpr\">'<xsl:value-of select=\". * 50\"\/>ms'<\/xsl:attribute>/" confEcma.xsl
+# sed -ie "s/<xsl:attribute name=\"delayexpr\">'<xsl:value-of select=\".\"\/>s'<\/xsl:attribute>/<xsl:attribute name=\"delayexpr\">'<xsl:value-of select=\". * 50\"\/>ms'<\/xsl:attribute>/" confEcma.xsls
#rm confEcma.xsle