note 99044 deleted from simplexmlelement.addAttribute by danbrown

From: Date: Sat, 24 Jul 2010 12:25:08 +0000
Subject: note 99044 deleted from simplexmlelement.addAttribute by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-171092@lists.php.net to get a copy of this message
Note Submitter: mdy at onpick dot com ---- re 'addAttribute method checks the length of the fields to determine whether or not they are empty. In otherwords if you are trying to addAttribute("patent_holder", "") this will fail as the strlen is 0.' yes it does fail but it's a bug - it it should not fail because an attribute followed by an equal sign and empty quotes is valid xml: <new_patent patent_holder=""/>

« previous php.notes (#171092) next »