[PHP-DEV] Bug #12463 Updated: set_attribute($attName, 0) does not add attributes
ID: 12463 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Closed Bug Type: DOM XML related Operating System: Win2K PHP Version: 4.0.6 New Comment: This is fixed already (at least, in CVS). Closing. Previous Comments: [2001-11-21 20:09:30] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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=12463edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12463 Updated: set_attribute($attName, 0) does not add attributes
ID: 12463 Updated by: mfischer Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: DOM XML related Operating System: Win2K PHP Version: 4.0.6 New Comment: Can you try latest RC and see if the problem still exists http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. Previous Comments: [2001-07-30 04:42:08] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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=12463edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #12463 Updated: set_attribute($attName, 0) does not add attributes
ID: 12463 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DOM XML related Operating System: Win2K PHP Version: 4.0.6 New Comment: 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 Previous Comments: [2001-07-30 04:23:27] [EMAIL PROTECTED] 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=12463edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]