From 470f990722777041a475de2e5cf02ca4504a2237 Mon Sep 17 00:00:00 2001 From: Burak Emir Date: Sat, 14 Oct 2006 13:31:12 +0000 Subject: xml improvements for 2.2.1 (see changes) --- test/files/jvm/xml01.scala | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/files/jvm/xml01.scala') diff --git a/test/files/jvm/xml01.scala b/test/files/jvm/xml01.scala index 3558d95100..8c99cfd358 100644 --- a/test/files/jvm/xml01.scala +++ b/test/files/jvm/xml01.scala @@ -189,6 +189,15 @@ object Test { val zx2: Node = Group { List(,zy1,zx1) } Console println zx2.toString() + val zz1 = + + assertTrue(zx1 == zz1) + assertTrue(zz1.length == 3) + + // unparsed + + val uup = &<<>""^%@$!# + assertTrue(uup == "&<<>\"\"^%@$!#") // test unicode escapes backslash u Console println ("attribute value normalization"); -- cgit v1.2.3