#37546 [NEW]: DOMDocumentFragment->appendXML namespace support

From: Date: Sun, 21 May 2006 18:38:39 +0000
Subject: #37546 [NEW]: DOMDocumentFragment->appendXML namespace support
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-97430@lists.php.net to get a copy of this message
From:             spam01 at pornel dot net
Operating system: 
PHP version:      6CVS-2006-05-21 (snap)
PHP Bug Type:     Feature/Change Request
Bug description:  DOMDocumentFragment->appendXML namespace support

Description:
------------
DOMDocumentFragment->appendXML() creates elements in default namespace (if
they don't have namespace set explictly, ofcourse).

However elements in XML fragments may just rely on namespace being set on
parent element and don't  define their own namespace, so it would be very
useful it if was possible to specify implied namespace, eg.

$fragment->appendXML('<p>test</p>',"http://www.w3.org/1999/xhtml");

should be equivalent to

$fragment->appendXML('<p xmlns="http://www.w3.org/1999/xhtml">test</p>');



-- 
Edit bug report at http://bugs.php.net/?id=37546&edit=1
-- 
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37546&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37546&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37546&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37546&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=37546&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37546&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37546&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37546&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37546&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37546&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=37546&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=37546&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37546&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37546&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37546&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37546&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37546&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37546&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37546&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37546&r=mysqlcfg


Thread (1 message)

  • spam01 at pornel dot net
« previous php.bugs (#97430) next »