'{"http://0-www-crossref-org.libus.csd.mu.edu/relations.xsd":program}' is expected

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://0-www-crossref-org.libus.csd.mu.edu/relations.xsd”:program}’ is expected.

I’ve attached my XML. What am I doing wrong? Thank you! Bess
VOTW4-2013.xml (3.0 KB)

1 Like

Hi Bess,

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://0-www-crossref-org.libus.csd.mu.edu/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.

VOTW4-2013_revised.xml (3.0 KB)

-Isaac