I get the following error when I parse my xml against the Crossref schema:
[Error] :56:61: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘program’. One of ‘{“http://www.crossref.org/relations.xsd”:program}’ is expected.
I’ve attached my XML. What am I doing wrong? Thank you! Bess VOTW4-2013.xml (3.0 KB)
Thanks for your message. It was the URL used in the relationship (it should be http, not https). The element should instead look like this:
<program xmlns="http://www.crossref.org/relations.xsd">
<related_item>
<description>Earlier version of a database</description>
<intra_work_relation relationship-type="isVersionOf" identifier-type="doi"
>10.5479/si.GVP.VOTW5-2022.5.0</intra_work_relation>
</related_item>
</program>
Attaching the revised XML, which is parsing for me now.