summaryrefslogtreecommitdiff
path: root/test/files/jvm/xml05.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-10-04 00:53:15 +0000
committerPaul Phillips <paulp@improving.org>2011-10-04 00:53:15 +0000
commit77d90e3aead2a48c1b5c633e57dea1b452b40db1 (patch)
treec7f8ea8b961e5ab13e8e56f3b115d8e380d1ab43 /test/files/jvm/xml05.check
parent0d730957dd61c8d9132dcec9b9fe07805d2bb960 (diff)
downloadscala-77d90e3aead2a48c1b5c633e57dea1b452b40db1.tar.gz
scala-77d90e3aead2a48c1b5c633e57dea1b452b40db1.tar.bz2
scala-77d90e3aead2a48c1b5c633e57dea1b452b40db1.zip
Fix for XML entity bug.
Hard to believe a bug like this can exist this long. Cay Horstman showed me. // Hey, where's my eacute? scala> <city name="San Jos&eacute;"/>.attributes foreach println name="San Jos&;" No review.
Diffstat (limited to 'test/files/jvm/xml05.check')
-rw-r--r--test/files/jvm/xml05.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/jvm/xml05.check b/test/files/jvm/xml05.check
new file mode 100644
index 0000000000..21db1e7ef5
--- /dev/null
+++ b/test/files/jvm/xml05.check
@@ -0,0 +1,11 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> <city name="San Jos&eacute;"/>
+res0: scala.xml.Elem = <city name="San Jos&eacute;"></city>
+
+scala>
+
+scala>