Sablotron Errors

From: Date: Tue, 20 Feb 2001 11:35:42 +0000
Subject: Sablotron Errors
Groups: php.general 
Request: Send a blank email to php-general+get-40727@lists.php.net to get a copy of this message
Hi, Not sure if this has been covered on here but... In recent versions PHP/Sablotron I've found that parse errors in the XML/XSL cause fatal errors. I'd much rather not have this happen so is there a way I can get around it? I'm doing xslt_process( ... ) which is meant to return false on errors so how can I get it to do that again rather than generating a fatal error that stops processing. I've tried putting my own dummy errorhandler in that doesn't do anything but that won't do it. Can you help? John

« previous php.general (#40727) next »