diff options
author | buraq <buraq@epfl.ch> | 2005-04-19 14:09:15 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2005-04-19 14:09:15 +0000 |
commit | 5662d8f94ee22defd6539290e339a45ee1586274 (patch) | |
tree | dd2baa6d1664a8ebedd8dd5b0c5aba6dfd9586f6 /test/files/jvm/xml01.scala | |
parent | d02399bd06ea475e7b6774bb1b4a8eb95e129bc7 (diff) | |
download | scala-5662d8f94ee22defd6539290e339a45ee1586274.tar.gz scala-5662d8f94ee22defd6539290e339a45ee1586274.tar.bz2 scala-5662d8f94ee22defd6539290e339a45ee1586274.zip |
fixed bug in new XML API related to namespaces
Diffstat (limited to 'test/files/jvm/xml01.scala')
-rw-r--r-- | test/files/jvm/xml01.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/jvm/xml01.scala b/test/files/jvm/xml01.scala index bd73a0fd7d..f97732a68e 100644 --- a/test/files/jvm/xml01.scala +++ b/test/files/jvm/xml01.scala @@ -8,7 +8,7 @@ import scala.testing.UnitTest._ ; object Test with Application { val e: scala.xml.MetaData = Null; //Node.NoAttributes; - val sc: scala.xml.NamespaceBinding = null; + val sc: scala.xml.NamespaceBinding = TopScope; val xmlFile1 = "<hello><world/></hello>"; val isrc1 = new InputSource( new StringReader( xmlFile1 ) ); |