diff options
author | Burak Emir <emir@epfl.ch> | 2006-07-01 17:02:24 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2006-07-01 17:02:24 +0000 |
commit | e4f63ce2525639b922a74ee97c1bef77e2bb3531 (patch) | |
tree | bdc55d7b90fef8431a84b3576c74a3c1b58614c8 /test | |
parent | 6f4b3a93cc498e89ea1606bd6a0f64144a297056 (diff) | |
download | scala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.tar.gz scala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.tar.bz2 scala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.zip |
test files for more xml parsing-extension
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/xmlmore.check | 11 | ||||
-rw-r--r-- | test/files/jvm/xmlmore.scala | 17 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/files/jvm/xmlmore.check b/test/files/jvm/xmlmore.check new file mode 100644 index 0000000000..b28255b3c2 --- /dev/null +++ b/test/files/jvm/xmlmore.check @@ -0,0 +1,11 @@ +<!-- thissa comment --> +<?this is a pi foo bar = && {{ ?> + + "Come, come again, whoever you are, come! +Heathen, fire worshipper or idolatrous, come! +Come even if you broke your penitence a hundred times, +Ours is the portal of hope, come as you are." + Mevlana Celaleddin Rumi + + +End Test diff --git a/test/files/jvm/xmlmore.scala b/test/files/jvm/xmlmore.scala new file mode 100644 index 0000000000..15adbcc891 --- /dev/null +++ b/test/files/jvm/xmlmore.scala @@ -0,0 +1,17 @@ +object Test extends Application { + val com = <!-- thissa comment --> + val pi = <?this is a pi foo bar = && {{ ?> + val crz = <![CDATA[ + "Come, come again, whoever you are, come! +Heathen, fire worshipper or idolatrous, come! +Come even if you broke your penitence a hundred times, +Ours is the portal of hope, come as you are." + Mevlana Celaleddin Rumi + +]]> + + Console println com + Console println pi + Console println crz // this guy will escaped, and rightly so + Console println "End Test" +} |