[noticket] Improve readability of XSD validation errors.
[noticket] Command-line validation - improvement handling encoding.