summaryrefslogtreecommitdiff
path: root/test/files/jvm/xmlstuff.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/xmlstuff.scala')
-rw-r--r--test/files/jvm/xmlstuff.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/files/jvm/xmlstuff.scala b/test/files/jvm/xmlstuff.scala
index 68e207c370..96d7317aab 100644
--- a/test/files/jvm/xmlstuff.scala
+++ b/test/files/jvm/xmlstuff.scala
@@ -25,6 +25,7 @@ object Test {
// ------------------------------------------ tests for class NodeSeq
+ /**
Console.println("checking wellformed attributes");
{
import scala.xml.{ UnprefixedAttribute, Null }
@@ -35,7 +36,20 @@ object Test {
assertFalse(catcher(x:Unit => new UnprefixedAttribute("key", "a&a; <<", Null)));
}
+*/
+/*
+checking wellformed attributes
+< not allowed in attribute value
+passed ok
+malformed entity reference in attribute value [&]
+passed ok
+malformed entity reference in attribute value [a&a]
+passed ok
+malformed entity reference in attribute value [a&a;&]
+passed ok
+passed ok
+*/
Console.println("NodeSeq");
import scala.xml.Utility.view ;