Validation errors: Element 'issues': No matching global declaration available for the validation root

As a Journal manger with uploading an xml file via Tools => Import / Export =>Native XML Plugin => Upload File it Always worked fine in OJS 2.4
Now in the new version 3.01 I get a warning:
“Validation errors: Element ‘issues’: No matching global declaration available for the validation root”
Can you please help me with this.
Regards, Janxml-file

Attached a screenshot of the xml file

Hi @Jan,

The OJS 2.x and 3.x XML formats are not compatible. See plugins/importexport/native/sample.xml for an example of what OJS 3.x’s XML format looks like.

Regards,
Alec Smecher
Public Knowledge Project Team

Thx @asmecher

I cannot find the sample.xml in
Administration=> Site Settings=> Plugins=>Import/Export Plugins => Native XML Plugin

Where do I have to look exactly
Regads, Jan

That path was probably meant to be found in your ojs installation directory on your server. If you don’t have access to that, you can find the file also in the GitHub source code repository:

https://github.com/pkp/ojs/blob/master/plugins/importexport/native/sample.xml

Does this mean that you cannot import OJS v2 XML into OJS v3?

Hi @Brooks_Becton,

Yes, that’s correct. There’s been some interest in an XSL to transform OJS2 XML to OJS3 XML but it hasn’t gotten any development effort as far as I’m aware.

Regards,
Alec Smecher
Public Knowledge Project Team

3 Likes

asmecher, Respected sir, what if the same error comes in OAI-PMH validation? on Line 6, Column 0, Element ‘{https://www.openarchives.org/OAI/2.0/}OAI-PMH’: No matching global declaration available for the validation root.

https://sjindia.org/index.php/international/oai

Kindly review it, i’ll be thankful to you.

Hi @jain034567,

This is the same issue you posted over at FAILED: Testing OAI Support in Worldcat digital collection gateway - #3 by jesparza, correct? Please don’t post the same issue in multiple places – it clutters the forum.

Thanks,
Alec Smecher
Public Knowledge Project Team

I’m sorry.
I request you to please review “Problem with OAI with new version of OJS repository 3.1.2.0