Import problem: Element '{http://pkp.sfu.ca}issue_covers': This element is not expected

Hello, I did an update to OJS 3.2.1.1 recently and now I have a problem trying to import new numbers using xml templates.

My site: http://revistas.upr.edu

This is the error message:

I will apreciate any advice. Thank you.

Hi @csbalseiro,

Maybe the problem is that you are importing articles from a lower version of the OJS? At least OJS 2.x is not supported.

Regards, Primož

Thnak you, Primož, but I am trying to import a back issue using a xml template. This is part of that template:

Hi @csbalseiro,

Looks like <issue_covers> is the wrong tag and should be . See the XML I just exported from version 3.2.1.2, but I believe should be OK: https://wetransfer.com/downloads/2b347f60a344c52c8dff04733c25248920201122121740/c00ffacd681ba2717d847b9a60ed455520201122121753/d812ee

Regards, Primož

Thank you very much Primož, I have checked your example, but the problem persists.
I have seen discussions on community forum about changes to XSD files, OJS version 3.2.x, then import xml template should be reviewed. I’m still trying to solve my problem

See: NativeXML validation errors

Hi @csbalseiro,

Well, the other option is that you export one article from your system and compare the XMLs.

Regards, Primož

Hello, primozs, I was finally able to import the file usnig a new xml import template:



1
Your description
<issue_identification>
2
1
1968
Vol. II, No. 1, June 1968
</issue_identification>
<last_modified>2020-03-10</last_modified>


1
ART
Articles




<cover_image>cover_issue_1_en_US.jpg</cover_image>
<cover_image_alt_text/>



<issue_galleys
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://pkp.sfu.ca native.xsd”/>


9
<submission_file
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” stage=“submission” id=“9” xsi:schemaLocation=“http://pkp.sfu.ca native.xsd”>

manager, a1.pdf
dGVzdCB0ZXN0IHRlc3QgDQp0ZXN0IHRldHMgZXRzIA0KdGVzdCB0c2V0IHN0c3Q=

</submission_file>
<supplementary_file
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” stage=“proof” id=“10” xsi:schemaLocation=“http://pkp.sfu.ca native.xsd”>

manager, test-upload-5.txt
dGVzdCB0ZXN0IHRlc3QgDQp0ZXN0IHRldHMgZXRzIA0KdGVzdCB0c2V0IHN0c3Q=

</supplementary_file>

16
Example title
The

test submission 2 - abstract
test
2020

test
test2
test3



J.
Admin
defstat@gmail.com


<article_galley
** xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” locale=“en_US” approved=“false” xsi:schemaLocation=“http://pkp.sfu.ca native.xsd”>**
** 0**
** PDF**
** 0**
** **
** </article_galley>**
1-2


<cover_image>submission_9_16_coverImage_en_US.jpg</cover_image>
<cover_image_alt_text>test-c-image</cover_image_alt_text>
dGVzdCB0ZXN0IHRlc3QgDQp0ZXN0IHRldHMgZXRzIA0KdGVzdCB0c2V0IHN0c3Q=






Sorry, here’s a clearer picture: