summaryrefslogtreecommitdiff
path: root/test/files/jvm/xmlmore.scala
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2006-07-01 17:02:24 +0000
committerBurak Emir <emir@epfl.ch>2006-07-01 17:02:24 +0000
commite4f63ce2525639b922a74ee97c1bef77e2bb3531 (patch)
treebdc55d7b90fef8431a84b3576c74a3c1b58614c8 /test/files/jvm/xmlmore.scala
parent6f4b3a93cc498e89ea1606bd6a0f64144a297056 (diff)
downloadscala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.tar.gz
scala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.tar.bz2
scala-e4f63ce2525639b922a74ee97c1bef77e2bb3531.zip
test files for more xml parsing-extension
Diffstat (limited to 'test/files/jvm/xmlmore.scala')
-rw-r--r--test/files/jvm/xmlmore.scala17
1 files changed, 17 insertions, 0 deletions
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"
+}