#27581 [Opn->Fbk]: XML Dom html_dump_mem

From: Date: Sat, 13 Mar 2004 10:03:17 +0000
Subject: #27581 [Opn->Fbk]: XML Dom html_dump_mem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56383@lists.php.net to get a copy of this message
ID: 27581 Updated by: sniper@php.net Reported By: angel at ciudad dot com dot ar -Status: Open +Status: Feedback Bug Type: DOM XML related Operating System: Linux PHP Version: 4.3.4 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-03-12 15:22:13] angel at ciudad dot com dot ar Description: ------------ This doesn't dump entery xml, just the first 3 nodes. Reproduce code: --------------- <? $xml_verificado = domxml_new_doc("1.0"); $xml_verificado_methodCall = $xml_verificado->create_element("methodCall"); $xml_verificado_methodCall = $xml_verificado->append_child($xml_verificado_methodCall); $xml_verificado_methodName = $xml_verificado->create_element("methodName"); $xml_verificado_methodName = $xml_verificado_methodCall->append_child($xml_verificado_methodName); $xml_verificado_methodName_method = $xml_verificado->create_text_node("sys.get_usuario"); $xml_verificado_methodName_method = $xml_verificado_methodName->append_child($xml_verificado_methodName_method); $xml_verificado_params = $xml_verificado->create_element("params"); $xml_verificado_params = $xml_verificado_methodCall->append_child($xml_verificado_params); $xml_verificado_params_param = $xml_verificado->create_element("param"); $xml_verificado_params_param = $xml_verificado_params->append_child($xml_verificado_params_param); $xml_verificado_params_param_string = $xml_verificado->create_element("string"); $xml_verificado_params_param_string = $xml_verificado_params_param->append_child($xml_verificado_params_param_string); echo $xml_verificado->html_dump_mem(); ?> Expected result: ---------------- <methodCall><methodName>sys.get_usuario</methodName><params><param><value><string></string></value></params></methodCall> Actual result: -------------- <methodCall><methodName>sys.get_usuario</methodName><params><param></params></methodCall> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27581&edit=1

« previous php.bugs (#56383) next »