#12286 [Fbk]: xml_parse isn't returning FALSE with malformed <?xml ...?> element
| From: | chregu@php.net | Date: | Sat, 17 Aug 2002 07:17:23 +0000 |
| Subject: | #12286 [Fbk]: xml_parse isn't returning FALSE with malformed <?xml ...?> element | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17110@lists.php.net to get a copy of this message | ||
ID: 12286
Updated by: chregu@php.net
Reported By: jacek.prucia@7bulls.com
Status: Feedback
Bug Type: XML related
Operating System: Debian Potato 2.2 (Linux 2.2.17)
PHP Version: 4.0.6
New Comment:
xml_parse has nothing to do with libxml, it uses the expat library.
Just as a clarification :)
chregu
Previous Comments:
------------------------------------------------------------------------
[2002-08-17 02:06:55] kalowsky@php.net
this actually sounds more like a problem with the library than the PHP
code. Have you tried a recent version of the libxml to see if this
still continues? While you're at it, do try a newer version of PHP
too, although I don't believe the xml extension has changed much.
------------------------------------------------------------------------
[2001-07-20 11:25:17] jacek.prucia@7bulls.com
consider XML file beginning with:
<?xml version='1.0'?>
everything is just fine, but let us have a small typo - lack of
question sign at the end like this:
<?xml version='1.0'>
this isn't correct, but xml_parse() isn't returning FALSE (as it is
supposed to do in case of an error). Instead xml_parse() goes on but it
isn't able to find any XML element which gives impression of
xml_parse() being totally dead...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12286&edit=1