#31549 [NEW]: asXML() gives error

From: Date: Fri, 14 Jan 2005 10:29:05 +0000
Subject: #31549 [NEW]: asXML() gives error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72147@lists.php.net to get a copy of this message
From: cpuidle at gmx dot de Operating system: WinXP SP2 PHP version: 5.0.2 PHP Bug Type: SimpleXML related Bug description: asXML() gives error 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 bug report at http://bugs.php.net/?id=31549&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31549&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31549&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31549&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31549&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31549&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31549&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31549&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31549&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31549&r=support Expected behavior: http://bugs.php.net/fix.php?id=31549&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31549&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31549&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31549&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31549&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31549&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31549&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31549&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31549&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31549&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31549&r=mysqlcfg

« previous php.bugs (#72147) next »