addattribute bug

Declaration of Pro_SimpleXMLElement::addAttribute()
should be compatible with SimpleXMLElement::addAttribute($name, $value =
NULL, $ns = NULL)