Increase the input document size limit
Catch errors from invalid xpath strings