#37380 [NEW]: DOMDocument->createAttribute[NS] can't set value

From: Date: Tue, 09 May 2006 12:04:25 +0000
Subject: #37380 [NEW]: DOMDocument->createAttribute[NS] can't set value
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96845@lists.php.net to get a copy of this message
From: bjori@php.net Operating system: * PHP version: 6CVS-2006-05-09 (CVS) PHP Bug Type: Feature/Change Request Bug description: DOMDocument->createAttribute[NS] can't set value Description: ------------ DOMDocument->createAttribute[NS] can't set attribute value but DOMDocument->createElement[NS] and DOMAttr->__construct can. Patch: http://php.is/bugs/dom/dom_document_create_attribute.default_value.patch.txt phpt: http://php.is/bugs/dom/dom_create_attribute_ns.phpt It "breaks" the W3 spec, but we already broke it with allowing ->createElement[NS] to set the value. -- Edit bug report at http://bugs.php.net/?id=37380&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37380&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37380&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37380&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37380&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37380&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37380&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37380&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37380&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37380&r=support Expected behavior: http://bugs.php.net/fix.php?id=37380&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37380&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37380&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37380&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37380&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37380&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37380&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37380&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37380&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37380&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37380&r=mysqlcfg

« previous php.bugs (#96845) next »