php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2377 xmlparser problem
Submitted: 1999-09-24 13:26 UTC Modified: 1999-09-25 11:54 UTC
From: bago at datasail dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Latest CVS (24/09/1999) OS: FreeBSD 3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
37 + 45 = ?
Subscribe to this entry?

 
 [1999-09-24 13:26 UTC] bago at datasail dot net
here is the code that works with php3 and php4b2 but not with php4cvs

<?php

		function startElement($parser, $tgname, $attrs) {
			print($tgname);
			xml_set_element_handler($parser, "startElement", false);
		}
		
		$xml_parser = xml_parser_create();
		xml_set_element_handler($xml_parser, "startElement", false);
		xml_parse($xml_parser, '<A></A>');

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-25 11:54 UTC] thies at cvs dot php dot net
should be fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 15:01:28 2024 UTC