From:             [EMAIL PROTECTED]
Operating system: Debian Potato 2.2 (Linux 2.2.17)
PHP version:      4.0.6
PHP Bug Type:     XML related
Bug description:  xml_parse isn't returning FALSE with malformed <?xml ...?> element

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 bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to