|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31549 asXML() gives error
Submitted: 2005-01-14 11:29 UTC Modified: 2005-01-14 23:28 UTC
From: cpuidle at gmx dot de Assigned:
Status: Not a bug Package: SimpleXML related
PHP Version: 5.0.2 OS: WinXP SP2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: cpuidle at gmx dot de
New email:
PHP Version: OS:


 [2005-01-14 11:29 UTC] cpuidle at gmx dot de
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-14 23:01 UTC]
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 as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

 [2005-01-14 23:05 UTC] cpuidle at gmx dot de
Excuse me- but *what* else does it indicate?
 [2005-01-14 23:28 UTC]
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 06:01:30 2024 UTC