From:             angel at ciudad dot com dot ar
Operating system: Linux
PHP version:      4.3.4
PHP Bug Type:     DOM XML related
Bug description:  XML Dom html_dump_mem

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 bug report at http://bugs.php.net/?id=27581&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27581&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27581&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27581&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27581&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27581&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27581&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27581&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27581&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27581&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27581&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27581&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27581&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27581&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27581&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27581&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27581&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27581&r=float

Reply via email to