author | wenzelm |
Sun, 08 Aug 2010 13:59:57 +0200 | |
changeset 38233 | 501dcbd8f399 |
parent 38232 | 00b72526dc64 |
child 38234 | 4b610fbb2d83 |
--- a/src/Pure/General/xml.scala Sat Aug 07 23:02:19 2010 +0200 +++ b/src/Pure/General/xml.scala Sun Aug 08 13:59:57 2010 +0200 @@ -118,7 +118,7 @@ def cache_string(x: String): String = lookup(x) match { case Some(y) => y - case None => store(x) + case None => store(new String(x.toCharArray)) // trim string value } def cache_props(x: List[(String, String)]): List[(String, String)] = if (x.isEmpty) x