diff options
author | Burak Emir <emir@epfl.ch> | 2005-12-12 14:20:04 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-12-12 14:20:04 +0000 |
commit | cb13c4597b2ab1f82ff9a7b18eb360804998965e (patch) | |
tree | 1791a7a8911d55b20219f836b5d778adadd6bd42 /test/files/jvm/xmlstuff.scala | |
parent | 31f89d28888fdfd4c58f231e83bd8d68b06738d9 (diff) | |
download | scala-cb13c4597b2ab1f82ff9a7b18eb360804998965e.tar.gz scala-cb13c4597b2ab1f82ff9a7b18eb360804998965e.tar.bz2 scala-cb13c4597b2ab1f82ff9a7b18eb360804998965e.zip |
disabled attribute check
Diffstat (limited to 'test/files/jvm/xmlstuff.scala')
-rw-r--r-- | test/files/jvm/xmlstuff.scala | 14 |
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 ; |