I'm getting the same exact problem as this:

http://marc.theaimsgroup.com/?l=php-general&m=102879705713315&w=2

Here's the code that's giving me problems:
<code>

while ($data = fread($fp, 4096))
{
    xml_parse($parser, $data, feof($fp)) or
      die(sprintf("XML error: %s at line %d",
       xml_error_string(xml_get_error_code($parser)),
       xml_get_current_line_number($parser)));
}

</code>


i get the message "XML error: syntax error at line 1".

The odd part is that it sometimes works, and sometimes doesn't..
and I don't have to change the code. 

It would be nice to know if the original poster ("Matt Holmes" <kerion () 
vengeanceagenda ! com> ) has fixed it or not. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to