summaryrefslogtreecommitdiff
path: root/src/library/scala/xml/UnprefixedAttribute.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/xml/UnprefixedAttribute.scala')
-rw-r--r--src/library/scala/xml/UnprefixedAttribute.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/UnprefixedAttribute.scala b/src/library/scala/xml/UnprefixedAttribute.scala
index cc5d002e84..5159c5a67f 100644
--- a/src/library/scala/xml/UnprefixedAttribute.scala
+++ b/src/library/scala/xml/UnprefixedAttribute.scala
@@ -22,7 +22,7 @@ class UnprefixedAttribute(val key: String, val value: Seq[Node], next1: MetaData
/** same as this(key, Utility.parseAttributeValue(value), next) */
def this(key: String, value: String, next: MetaData) =
- this(key, if(value!=null) Utility.parseAttributeValue(value) else {val z:NodeSeq=null;z}, next)
+ this(key, if(value!=null) Text(value) else {val z:NodeSeq=null;z}, next)
/** returns a copy of this unprefixed attribute with the given next field*/
def copy(next: MetaData) =