author | wenzelm |
Sat, 23 Aug 2008 19:42:13 +0200 | |
changeset 27959 | d6a4d7b013f7 |
parent 27958 | 292d78c906b1 |
child 27960 | 65b10d8ef0c6 |
--- a/src/Pure/General/xml.scala Sat Aug 23 19:42:12 2008 +0200 +++ b/src/Pure/General/xml.scala Sat Aug 23 19:42:13 2008 +0200 @@ -70,7 +70,7 @@ } val root_elem = tree match { case Elem(_, _, _) => DOM(tree) - case Text(_) => DOM(Elem("root", Nil, List(tree))) + case Text(_) => DOM(Elem(Markup.ROOT, Nil, List(tree))) } doc.appendChild(root_elem) doc