Is it possible for a .xsd file to also validate a .xml file by encoding type?
We have a system which can not read xml files starting like this:
<?xml version="1.0" encoding="utf-16" standalone="yes"?>
So I want to validate them before feeding them to that system and check if they start with
<?xml version="1.0" encoding="utf-8" standalone="yes"?>