Call to a member function saveXml()

@asmecher my real website uars.info has frontend(nginx) which transfer all requests to another VM(with apache).
no additional configs in config.inc.php not enabled. version of OJS 3.1.2-4
and i can deposit data. i discovered that i can’t download xml because of the same error
i have install xampp at my work computer, and take there copy of current 3.1.2-4 site updated it to 3.2.0-1.

when i want to test deposition of metadata i change in my frontend IP.
location / {
proxy_pass https://192.168.1.90:443/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
}
}

Validation errors:
element decl. 'language', attribute 'type': The QName value '{http://www.doaj.org/schemas/iso_639-2b/1.0}LanguageCodeType' does not resolve to a(n) type definition.

attribute decl. 'language', attribute 'type': The QName value '{http://www.doaj.org/schemas/iso_639-2b/1.0}LanguageCodeType' does not resolve to a(n) simple type definition.

attribute decl. 'language', attribute 'type': The QName value '{http://www.doaj.org/schemas/iso_639-2b/1.0}LanguageCodeType' does not resolve to a(n) simple type definition.

attribute decl. 'language', attribute 'type': The QName value '{http://www.doaj.org/schemas/iso_639-2b/1.0}LanguageCodeType' does not resolve to a(n) simple type definition.

Invalid XML:
<?xml version="1.0" encoding="utf-8"?>
<records xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://doaj.org/static/doaj/doajArticles.xsd">
  <record>
    <language>ukr</language>
    <publisher>Ukrainian Association of Researchers of Religion</publisher>
    <journalTitle>Ukrainian Religious Studies</journalTitle>
    <issn>2306-3548</issn>
    <eissn>2617-9792</eissn>
    <publicationDate>2019-12-10</publicationDate>
    <issue>89</issue>
    <startPage>97</startPage>
    <endPage>101</endPage>
    <doi>10.32420/2019.89.1794</doi>
    <publisherRecordId>1794</publisherRecordId>
    <title language="ukr">Автори</title>
    <title language="eng">Authors of the journal</title>
    <authors>
      <author>
        <name>Editorial board  of the Journal </name>
      </author>
    </authors>
    <abstract language="ukr">
Автори
</abstract>
    <abstract language="eng">
Authors of the journal
</abstract>
    <fullTextUrl format="html">https://uars.info/index.php/uars/article/view/1794</fullTextUrl>
    <keywords language="ukr"/>
    <keywords language="eng"/>
    <keywords language="rus"/>
  </record>
</records>
Could not convert selected objects.

@asmecher i can confirm, that in 3.1.2-4 i can download xml. but only if i remove checkbox about validation
image

i forgot that i have change default DOAJ plugin code to have ability to deposit only english metadata instead of depositing metadata equal to submission language.

so in 3.2.0-1 i can’t deposit\download with\without checkbox
and in 3.1.2.-4 i can deposit\download without checkbox

Hi @redukr,

Did you see my response above? Call to a member function saveXml() - #20 by asmecher

Regards,
Alec Smecher
Public Knowledge Project Team

@asmecher i haven’t seen your reply. Thank’s a lot for your work!!!

1 Like

Thanks a lot for your help! Merci bien!