Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.853
diff -u -r1.853 node.module
--- modules/node/node.module	5 Jul 2007 08:48:57 -0000	1.853
+++ modules/node/node.module	8 Jul 2007 16:59:36 -0000
@@ -1965,7 +1965,7 @@
   }
 
   $item_length = variable_get('feed_item_length', 'teaser');
-  $namespaces = array('xmlns:dc="http://purl.org/dc/elements/1.1/"');
+  $namespaces = array('xmlns:dc' => 'http://purl.org/dc/elements/1.1/');
 
   $items = '';
   foreach ($nids as $nid) {
@@ -2027,7 +2027,7 @@
   $channel = array_merge($channel_defaults, $channel);
 
   $output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
-  $output .= "<rss version=\"". $channel["version"] ."\" xml:base=\"". $base_url ."\" ". implode(' ', $namespaces) .">\n";
+  $output .= "<rss version=\"". $channel["version"] ."\" xml:base=\"". $base_url ."\" ". drupal_attributes($namespaces) .">\n";
   $output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']);
   $output .= "</rss>\n";
 
