Displays better error message for xpath parser limitations

As per this issure: http://manage.dimagi.com/default.asp?61313