summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-09 20:44:01 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-09 20:44:01 (GMT)
commit1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (patch)
tree94dd97bce2b62c890514fef506ff1b49a0228709 /test/w3c
parent43ac168a8ea4a75f1df7b2b6d7444b618eedd42c (diff)
downloaduscxml-1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8.zip
uscxml-1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8.tar.gz
uscxml-1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8.tar.bz2
Fixed a typo and added a test for issue 56legacy-1.0
Diffstat (limited to 'test/w3c')
-rwxr-xr-xtest/w3c/convert-tests.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/w3c/convert-tests.sh b/test/w3c/convert-tests.sh
index 0e43b48..bd8d140 100755
--- a/test/w3c/convert-tests.sh
+++ b/test/w3c/convert-tests.sh
@@ -26,19 +26,28 @@ TXMLS=`ls txml/*.txml`
# java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confPromela.xsl -o:$DEST
# done
+# for TXML in $TXMLS
+# do
+# DEST=prolog/`basename $TXML .txml`.scxml
+# echo "Processing $TXML to $DEST"
+# java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confProlog.xsl -o:$DEST
+# done
+
for TXML in $TXMLS
do
- DEST=prolog/`basename $TXML .txml`.scxml
+ DEST=namespace/`basename $TXML .txml`.scxml
echo "Processing $TXML to $DEST"
- java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confProlog.xsl -o:$DEST
+ java -jar /Users/sradomski/Developer/Applications/SaxonHE9-4-0-7J/saxon9he.jar $TXML confEcma-ns.xsl -o:$DEST
done
cp txml/*.txt ecma/
+cp txml/*.txt ecma.ns/
cp txml/*.txt xpath/
cp txml/*.txt promela/
cp txml/*.txt prolog/
find ./ecma -type f -exec grep -Ili 'datamodel="xpath"' {} \; |xargs rm -fv
+find ./namespace -type f -exec grep -Ili 'datamodel="xpath"' {} \; |xargs rm -fv
find ./xpath -type f -exec grep -Ili 'datamodel="ecmascript"' {} \; |xargs rm -fv