Validating the eml-sample.xml file that ships with EML 2.2.0 produces spurious errors.
> eml_validate("eml-sample.xml", schema = NULL)
[1] FALSE
attr(,"errors")
[1] "parent of any annotation must have id unless annotation contains a references attribute"
Warning message:
In eml_additional_validation(doc, encoding = encoding) :
Document is invalid. Found the following errors:
parent of any annotation must have id unless annotation contains a references attribute
Validating the
eml-sample.xml
file that ships with EML 2.2.0 produces spurious errors.