Zeev Suraski wrote:
> Why not just return the error message as the return value? It would
> give you the same functionality.

  Yes, this works for the function that calls xml_parse() and needs to
  handle XML parser errors.

  But I also have to abort the parsing, throw away all generated output
  and print an error message in the SAX callbacks. And here I see no
  other way than using ob_end_clean().

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to