#34878 [Opn->Bgs]: domxml cannot create a element use name of element 'channel'

From: Date: Sun, 16 Oct 2005 10:44:21 +0000
Subject: #34878 [Opn->Bgs]: domxml cannot create a element use name of element 'channel'
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-86624@lists.php.net to get a copy of this message
ID: 34878 Updated by: chregu@php.net Reported By: js1 at qq dot com -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: windows2003+IIS6 PHP Version: 5.0.5 New Comment: your code produces perfectly valid and expected xml on my installation (php4/domxml) But remember that using domxml with php5 is really discouraged and not supported at all. Please use dom and upgrade your scripts accordingly. Previous Comments: ------------------------------------------------------------------------ [2005-10-16 03:07:11] js1 at qq dot com Expected result: ---------------- creart xml rss2.0 actual result ---------------- alert 'add to Favorites' ------------------------------------------------------------------------ [2005-10-15 11:52:32] tony2001@php.net And the actual result is ..? ------------------------------------------------------------------------ [2005-10-15 02:15:52] js1 at qq dot com Description: ------------ domxml cannot create a element use name of element 'channel' Reproduce code: --------------- <?php $dom = domxml_new_doc("1.0"); $root = $dom->add_root("channel") ; echo $dom->dump_mem(true,"utf-8"); ?> Expected result: ---------------- alert 'add to Favorites' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34878&edit=1

« previous php.bugs (#86624) next »