|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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: Fri Mar 01 07:01:29 2024 UTC