#12463 [Com]: set_attribute($attName, "0") does not add attributes
| From: | cartoon-picture1442 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:12:02 +0000 |
| Subject: | #12463 [Com]: set_attribute($attName, "0") does not add attributes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63152@lists.php.net to get a copy of this message | ||
ID: 12463
Comment by: cartoon-picture1442 at hotmail dot com
Reported By: jw at shapers dot nl
Status: Closed
Bug Type: DOM XML related
Operating System: Win2K
PHP Version: 4.0.6
New Comment:
<a href=http://3d-pvcwarez-resourc.da.ru>cartoon
picture</a>
Previous Comments:
------------------------------------------------------------------------
[2001-11-30 21:20:27] mfischer@php.net
This is fixed already (at least, in CVS). Closing.
------------------------------------------------------------------------
[2001-11-21 20:09:30] mfischer@php.net
Can you try latest RC and see if the problem still exists
http://www.php.net/~zeev/php-4.1.0RC3.tar.gz
Feedback.
------------------------------------------------------------------------
[2001-07-30 04:42:08] jw at shapers dot nl
When I try to add an attribute with value "0" to a DomNode, like this:
$cNode->set_attribute("attributeName", "0");
The attribute isn't added, and worse, any attributes added to this node
later won't be
added aswell. But this does only happen when the zero-valuead attribute
isn't the first one added.
JW
------------------------------------------------------------------------
[2001-07-30 04:23:27] jw at shapers dot nl
When I try to add an attribute with value "0" to a DomNode, like this:
$cNode->set_attribute("attributeName", "0");
The attribute isn't added, and worse, any attributes added to this node
later won't be added aswell. I'll see if I can add a short reproducing
script later.
JW
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12463&edit=1