Hello there!
I’m trying to include Crossmark data in the XML file that is submitted to deposit the DOI. I tried adding the following to the XML file that OJS generates:
<crossmark>
<crossmark_version>1</crossmark_version>
<crossmark_policy>10.47235/erratas</crossmark_policy>
<crossmark_domains>
<crossmark_domain>
<domain>revistademorfologiaurbana.org</domain>
</crossmark_domain>
</crossmark_domains>
<crossmark_domain_exclusive>true</crossmark_domain_exclusive>
<custom_metadata>
<assertion name="peer_reviewed" label="Peer Reviewed">Yes</assertion>
<assertion name="published" label="Published">2021-12-27</assertion>
<assertion name="license" label="License" explanation="https://creativecommons.org/licenses/by/4.0">Creative Commons Attribution</assertion>
</custom_metadata>
</crossmark>
But I get the error:
Error: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ai:program'. One of '{"http://www.crossref.org/relations.xsd":program, "http://www.crossref.org/schema/4.3.6":archive_locations, "http://www.crossref.org/schema/4.3.6":doi_data}' is expected.
In the Crossref forum, @IFarley was super helpful and explained that my XML probably has syntax from conflicting versions. He generated a new XML file, but it was using schema 4.4.2. Since OJS generates a XML file with version 4.3.6, I was wondering how I could edit it properly in order to speed things up and not have to create new XML from scratch for each DOI I deposit.
The complete XML file (edited by me) can be checked here.
I also tried including the metadata separately as per @kksabu’s guidelines here, to no avail. This time I did not receive any error message, but when I click the crossmark button it says the article has no Crossmark data.
Application Version - e.g., OJS 3.3.0.7