I have an existing xml doc that validates against crossref v4.3.4. I need to add copyright elements such as copyright-year, copyright-holder) to a permissions element and am unable to get it to validate. When I upload this file to the crossref validator is states there is an error:
[Error] :26:22: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘permissions’. One of ‘{“…”:titles}’ is expected.
I cannot understand how to properly add the permissions and have spent hours on this. No matter what I do, it fails.
Can someone point out what is wrong?
<?xml version="1.0" encoding="UTF-8"?>
<doi_batch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://0-www-crossref-org.libus.csd.mu.edu/schema/4.3.4 https://0-data-crossref-org.libus.csd.mu.edu/schemas/crossref4.3.4.xsd"
xmlns="http://0-www-crossref-org.libus.csd.mu.edu/schema/4.3.4"
xmlns:fr="http://0-www-crossref-org.libus.csd.mu.edu/fundref.xsd"
xmlns:ai="http://0-www-crossref-org.libus.csd.mu.edu/AccessIndicators.xsd"
xmlns:mml="http://www.w3.org/1998/Math/MathML"
version="4.3.4"> <head>
<doi_batch_id>myxref:e78274f8-fe75-11ee-97fd-e25c96a7f4f6</doi_batch_id>
<timestamp>20240419105444</timestamp>
<depositor>
<depositor_name>some name</depositor_name>
<email_address>foo@bar.com</email_address>
</depositor>
<registrant>The some name</registrant>
</head>
<body>
<journal>
<journal_metadata language="en">
<full_title>title</full_title>
<abbrev_title>title abv</abbrev_title>
<issn media_type="print">0031-899X</issn>
<coden>BARTAO</coden>
</journal_metadata>
<journal_article publication_type="full_text">
<permissions>
<copyright-year>2023</copyright-year>
<copyright-holder>The some name</copyright-holder>
</permissions>
<titles>
<title>some title</title>
</titles>
<publication_date media_type="online">
<month>5</month>
<day>15</day>
<year>2023</year>
</publication_date>
<doi_data>
<doi>11.1111/something.1.111</doi>
<timestamp>20240419105444</timestamp>
<resource>https://bar.com/doi/11.1111/something.1.111</resource>
</doi_data>
</journal_article>
</journal>
</body>
</doi_batch>```
Thank you