Matt
unread,Aug 5, 2009, 1:05:54 AM8/5/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to devel-querypath
In addition to the changes noted in the announcement to querypath-
support, the following low-level changes have been made:
- QueryPath now allows you to explicitly set the exact error handling
level using the option 'exception_level'. In other words, you can do
this:
qp($xml, NULL, array('exception_level' => E_ALL ^ E_NOTICE));
OR
qp($xml, NULL, array('exception_level' => E_ERROR | E_USER_ERROR));
OR
qp($xml, NULL, array('exception_level' => 257)); // Same as E_ERROR |
E_USER_ERROR
Note that these settings will not effect IO warnings. A failure to
open, write, or read a document will still result in a
QueryPathIOException regardless of the exception level settings.
Also note that if the ignore_parser_warnings option is set to TRUE,
the exception_level option will be ignored.
Best,
Matt