--TEST-- Bug #41175 (addAttribute() fails to add an attribute with an empty value) --SKIPIF-- --FILE-- "); $xml->addAttribute("src", "foo"); $xml->addAttribute("alt", ""); echo $xml->asXML(); ?> --EXPECT--