php.net |  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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cpuidle at gmx dot de
New email:
PHP Version: OS:

 

 [2005-01-14 11:29 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-14 23:01 UTC] rrichards@php.net
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.


 [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] rrichards@php.net
RTM
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC