#31549 [Opn->Bgs]: asXML() gives error

From: Date: Fri, 14 Jan 2005 22:01:08 +0000
Subject: #31549 [Opn->Bgs]: asXML() gives error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72207@lists.php.net to get a copy of this message
ID: 31549 Updated by: rrichards@php.net Reported By: cpuidle at gmx dot de -Status: Open +Status: Bogus Bug Type: SimpleXML related Operating System: WinXP SP2 PHP Version: 5.0.2 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2005-01-14 11:29:05] cpuidle at gmx dot de Description: ------------ Loading simplexml document, then trying to print the xml file results in error: Fatal error: Class 'classSXE' not found Zend forum suggested to make sure that xml document is properly created as correct class ($xml = new classSXE();), this isn't possible either (another error). Reproduce code: --------------- $xml = simplexml_load_string("file.xml"); echo $xml->asXML(); Expected result: ---------------- XML output, instead: Fatal error: Class 'classSXE' not found ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31549&edit=1

« previous php.bugs (#72207) next »