summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
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