--TEST--
BUg #76712 (Assignment of empty string creates extraneous text node)
--SKIPIF--
--FILE--
');
$sxe->addChild('bar', '');
echo $sxe->asXML();
$sxe = new SimpleXMLElement('');
$sxe->addChild('bar');
$sxe->bar = '';
echo $sxe->asXML();
?>
--EXPECT--