PHP 4.0 Bug #6457: DOM XML functions are misbehaving

From: Date: Thu, 31 Aug 2000 08:11:13 +0000
Subject: PHP 4.0 Bug #6457: DOM XML functions are misbehaving
Groups: php.dev 
Request: Send a blank email to php-dev+get-31384@lists.php.net to get a copy of this message
From: sb@phpopentracker.de Operating system: Windows 2000 PHP version: 4.0.2 PHP Bug Type: Misbehaving function Bug description: DOM XML functions are misbehaving 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.

« previous php.dev (#31384) next »