--TEST--
DOM-Parsing GH-44 (It's possible for 'generate a prefix' algorithm to generate a prefix conflicting with an existing one)
--EXTENSIONS--
dom
--FILE--
')->documentElement;
$root->firstChild->setAttributeNS('uri3', 'attr1', 'value1');
echo $root->ownerDocument->saveXml(), "\n";
?>
--EXPECT--