diff options
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) } |