#20669 [NEW]: DomDocument->create_element_ns undefined
| From: | hfuecks at phppatterns dot com | Date: | Wed, 27 Nov 2002 09:00:40 +0000 |
| Subject: | #20669 [NEW]: DomDocument->create_element_ns undefined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25943@lists.php.net to get a copy of this message | ||
From: hfuecks@phppatterns.com
Operating system: Windows
PHP version: 4.2.3
PHP Bug Type: DOM XML related
Bug description: DomDocument->create_element_ns undefined
Using;
libxml Version
2.4.21
HTML Support
enabled
XPath Support
enabled
XPointer Support
enabled
The following results in "call to undefined function";
<?php
$dom=domxml_new_doc('1.0');
$root=$dom->create_element_ns('http://www.php.net','domxml','php');
$root=$dom->append_child($root);
?>
Using create_element though causes no problems;
<?php
$dom=domxml_new_doc('1.0');
$root=$dom->create_element('domxml');
$root=$dom->append_child($root);
?>
[Looked hard but found no other bug listed with reference to
create_element_ns in the DOM extension]
--
Edit bug report at http://bugs.php.net/?id=20669&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20669&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20669&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20669&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20669&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20669&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20669&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20669&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20669&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20669&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20669&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20669&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20669&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20669&r=isapi