Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Scala release 2.7.0-final

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/tags/R_2_7_0-final@14314 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
  • Loading branch information...
commit c2a18511a2ecb15c3c76b05d0ff43b9a2db83cdf 2 parents 31a0091 + 1b6a189
rytz authored
View
2  build.number
@@ -1,4 +1,4 @@
-#Wed Mar 05 16:25:59 CET 2008
+#Thu Mar 06 17:53:45 CET 2008
version.minor=7
version.patch=0
version.suffix=-final
View
4 src/library/scala/xml/PrefixedAttribute.scala
@@ -26,9 +26,9 @@ class PrefixedAttribute(val pre: String,
if(value eq null)
throw new UnsupportedOperationException("value is null")
- /** same as this(key, Text(value), next) */
+ /** same as this(key, Utility.parseAttributeValue(value), next) */
def this(pre: String, key: String, value: String, next: MetaData) =
- this(pre, key, Text(value), next)
+ this(pre, key, Utility.parseAttributeValue(value), next)
/*
// the problem here is the fact that we cannot remove the proper attribute from
View
6 src/library/scala/xml/UnprefixedAttribute.scala
@@ -19,11 +19,11 @@ class UnprefixedAttribute(val key: String, val value: Seq[Node], next1: MetaData
val next = if (value ne null) next1 else next1.remove(key)
- /** same as this(key, Text(value), next) */
+ /** same as this(key, Utility.parseAttributeValue(value), next) */
def this(key: String, value: String, next: MetaData) =
- this(key, if (value ne null) Text(value) else {val z:NodeSeq=null;z}, next)
+ this(key, if (value ne null) Utility.parseAttributeValue(value) else {val z:NodeSeq=null;z}, next)
- /** same as this(key, Text(value.get), next), or no attribute if value is None */
+ /** same as this(key, value.get, next), or no attribute if value is None */
def this(key: String, value: Option[Seq[Node]], next: MetaData) =
this(key, if (!value.isEmpty) value.get else {val z:NodeSeq=null;z}, next)
Please sign in to comment.
Something went wrong with that request. Please try again.