YAML/XML readers fixed to report reading errors