From:             [EMAIL PROTECTED]
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

Reply via email to