OJS 3.2.1.4 new native xml scheme?

Dear all,

we recently updated our OJS to version 3.2.1.4. Our workflow includes the publication/import of new issues via native xml import. However, it looks like the xml scheme has changed since the last update. When we try to import an issue we got a lot of validation errors:

  1. Element ‘{http://pkp.sfu.ca}article’, attribute ‘date_published’: The attribute ‘date_published’ is not allowed.
  2. Element ‘{http://pkp.sfu.ca}article’, attribute ‘section_ref’: The attribute ‘section_ref’ is not allowed.
  3. Element ‘{http://pkp.sfu.ca}title’: This element is not expected. Expected is one of ( {http://pkp.sfu.ca}id, {http://pkp.sfu.ca}submission_file, {http://pkp.sfu.ca}artwork_file, {http://pkp.sfu.ca}supplementary_file, {http://pkp.sfu.ca}pkppublication, {http://pkp.sfu.ca}publication ).
  4. Element ‘{http://pkp.sfu.ca}article’, attribute ‘date_published’: The attribute ‘date_published’ is not allowed.
  5. Element ‘{http://pkp.sfu.ca}article’, attribute ‘section_ref’: The attribute ‘section_ref’ is not allowed.
  6. Element ‘{http://pkp.sfu.ca}title’: This element is not expected. Expected is one of ( {http://pkp.sfu.ca}id, {http://pkp.sfu.ca}submission_file, {http://pkp.sfu.ca}artwork_file, {http://pkp.sfu.ca}supplementary_file, {http://pkp.sfu.ca}pkppublication, {http://pkp.sfu.ca}publication ).
  7. Element ‘{http://pkp.sfu.ca}article’, attribute ‘date_published’: The attribute ‘date_published’ is not allowed.
  8. Element ‘{http://pkp.sfu.ca}article’, attribute ‘section_ref’: The attribute ‘section_ref’ is not allowed.
  9. Element ‘{http://pkp.sfu.ca}title’: This element is not expected. Expected is one of ( {http://pkp.sfu.ca}id, {http://pkp.sfu.ca}submission_file, {http://pkp.sfu.ca}artwork_file, {http://pkp.sfu.ca}supplementary_file, {http://pkp.sfu.ca}pkppublication, {http://pkp.sfu.ca}publication ).

Could someone show me, where the new native xml scheme can be downloaded?

Thank’s a lot
Sleipnir

Hi @Sleipnir ,

Which version have you upgraded from? There is a change between OJS 2 to OJS 3. If so, search the forum, there is a lot topics on that.

Regards, Primož

Thanks @primozs!
we have upgraded from version 3.1.2.4. Therefore, changes in the scheme are actually unexpected.

Cheers
Sleipnir

Hi @Sleipnir,

The native XML import/export format is not intended to be stable between releases; in particular with OJS 3.2 we introduced a versioning feature allowing each submission to have multiple versions (in order to track and expose revisions to readers, for example). I would suggest comparing the schema files (plugins/importexport/native/native.xsd and lib/pkp/plugins/importexport/native/pkp-native.xsd) to see what has changed since 3.1.2.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you @asmecher!
We have found the history of native xml changes on github: History for plugins/importexport/native/native.xsd - pkp/ojs · GitHub
We will now check the differences.
Kind regards
Sleipnir

1 Like