diff options
author | Paul Phillips <paulp@improving.org> | 2009-04-30 17:45:09 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-04-30 17:45:09 +0000 |
commit | 8906512f68edb9c323ddc2fce56d51d34e687394 (patch) | |
tree | fbee844e1f1fa732a040c78cbfc06af6cf6ea9ca /src/library | |
parent | 90fa917f34edc3e2a53f25122d0a744e159a7ca5 (diff) | |
download | scala-8906512f68edb9c323ddc2fce56d51d34e687394.tar.gz scala-8906512f68edb9c323ddc2fce56d51d34e687394.tar.bz2 scala-8906512f68edb9c323ddc2fce56d51d34e687394.zip |
continuing fix for #1626 into trac comments
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/NamespaceBinding.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/xml/NamespaceBinding.scala b/src/library/scala/xml/NamespaceBinding.scala index 47809fe6fa..4922e3915b 100644 --- a/src/library/scala/xml/NamespaceBinding.scala +++ b/src/library/scala/xml/NamespaceBinding.scala @@ -62,7 +62,7 @@ class NamespaceBinding(val prefix: String, } sb.append('=') .append('"') - .append(uri) + .append(if (uri == null) "" else uri) .append('"'); parent.toString(sb, stop) // copy(ignore) } |