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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Fri Oct 04 14:01:27 2024 UTC