PHP 4.0 Bug #6457 Updated: DOM XML functions are misbehaving
| From: | sniper@php.net | Date: | Wed, 08 Nov 2000 02:05:43 +0000 |
| Subject: | PHP 4.0 Bug #6457 Updated: DOM XML functions are misbehaving | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37408@lists.php.net to get a copy of this message | ||
ID: 6457
Updated by: sniper
Reported By: sb@phpopentracker.de
Status: Open
Bug Type: DOM XML related
Assigned To:
Comments:
reclassify
Previous Comments:
---------------------------------------------------------------------------
[2000-08-31 04:11:13] sb@phpopentracker.de
The output of the following script
<?php
// create new xml document
$document = new_xmldoc( "1.0" );
// add "root" element
$root = $document->add_root( "root" );
// set contents for "root" element
$root->content = "contents of root";
// output xml document
print htmlspecialchars( $document->dumpmem() );
?>
is
<?xml version="1.0"?> <root/>
and not
<?xml version="1.0"?> <root> contents of root <root/>
as I'd expected it to be.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6457