Limit strict error handling in XML::load() to configuration

Resolves #1380
Follow-up to #1354