summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/jvm/xmlmore.check11
-rw-r--r--test/files/jvm/xmlmore.scala17
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 = && {{ ?>
+
+ &quot;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.&quot;
+ 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"
+}