Native export failure OJS 3.0.2: Element '{}revision': This element is not expected

Tags: #<Tag:0x007f6c66dd3928>


I’m triying to use Native Export in OJS 3.0.2 to export a Issue and I always obtain this to errors:

Element '{}revision': This element is not expected
`Element ‘{}revision’: This element is not expected. Expected is one of ( {}description, {}publisher, {}sponsor, {}date_created, {}source, {}language ).

I managed to follow the error to specific XML elements. The first error is caused by <revision number="1" genre="Data Analysis"...> here:

<creator locale="en_US">Cledy Eliana dos Santos</creator>
<description locale="en_US">The aim of our study was to identify a feasible population-based method to estimate the number of people who would benefit from palliative care health services in a Brazilian population. From a series of estimations to get an idea of how many people may be in need of palliative care, it is possible to build a baseline for health system planning and palliative care needs in cancer and non-cancer patients.</description>
<revision number="1" genre="Data Analysis" filename="Artigo 3_International_Archives of   Medicine_ 20 Mar&#xE7;o 2017.docx" viewable="true" date_uploaded="2017-03-21" date_modified="2017-03-21" filesize="80770" filetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" user_group_ref="Author" uploader="cledyeliana">

and the second error is caused by <revision number="1" genre="Other" filename="ARTICLE CORRET 22.03.docx"...> here:

  <description locale="en_US">authors</description>
  <revision number="1" genre="Other" filename="ARTICLE CORRET 22.03.docx" viewable="true" date_uploaded="2017-03-24" date_modified="2017-03-24" filesize="64936" filetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document" user_group_ref="Author" uploader="erickaholmes">
    <name locale="en_US">erickaholmes, Author, ARTICLE CORRET 22.03.docx</name>

So, I guess the problem is that all revision elements aren’t put together as XML schema says:

Can someone help me, please?


Hi @aplatanado,

What version of OJS are you using? (Please include this information with your posts.)

Alec Smecher
Public Knowledge Project Team


I’m sorry. It is OJS 3.0.2

I’ve edited the post to add that information.


Hi @aplatanado

Hmmm… There seem to be a problem with supplementary files. Would it be possible for you to somehow give me your exported XML? If you could figure out which article(s) that is/are, it would be enough to send me only those. Also, you could remove the base64 content and replace any sensible information with a default text. That would be great!

Thanks a lot!


Hi @aplatanado

The problem seems to be with several supplementary file revisions – they are not exported correctly. S. this GitHub Issue for a patch:



Ok. Thank you very much!!