summaryrefslogtreecommitdiff
path: root/test/files/jvm/xml01.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/jvm/xml01.scala')
-rw-r--r--test/files/jvm/xml01.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/jvm/xml01.scala b/test/files/jvm/xml01.scala
index 75777a5b94..2b456f5ff5 100644
--- a/test/files/jvm/xml01.scala
+++ b/test/files/jvm/xml01.scala
@@ -4,6 +4,8 @@ import org.xml.sax.InputSource
import scala.xml._
object Test extends App {
+ def Elem(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*): Elem =
+ scala.xml.Elem.apply(prefix, label, attributes, scope, minimizeEmpty = true, child: _*)
val e: scala.xml.MetaData = Null //Node.NoAttributes
val sc: scala.xml.NamespaceBinding = TopScope