Fixes #3781: improve error message in XML parsing
Merge pull request #22 from ncharles/bug_3781/dev/improve_error_message_for_XML_parsing

Fixes #3781: improve error message in XML parsing
Merging 2.4 into 2.6
Merge branch 'branches/rudder/2.6' into branches/rudder/2.7
Merge branch 'branches/rudder/2.7'