OJS3 XML doc error

Hello,
when trying to export xml docs, I receive the following error (see below).
Any idea how to solve this error?

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>eng</language>
    <publisher>VETNET European Research Network Vocational Education and Training / European Educational Research Association</publisher>
    <journalTitle>International Journal for Research in Vocational Education and Training</journalTitle>
    <issn>2197-8638</issn>
    <eissn>2197-8646</eissn>
    <publicationDate>2017-04-26</publicationDate>
    <volume>4</volume>
    <issue>1</issue>
    <startPage>20</startPage>
    <endPage>46</endPage>
    <doi>10.13152/IJRVET.4.1.2</doi>
    <publisherRecordId>233</publisherRecordId>

    <authors>

</abstract>
    <fullTextUrl format="html">http://www.ijrvet.net/index.php/IJRVET/article/view/233</fullTextUrl>
    <keywords/>
  </record>
</records>

Could not convert selected objects.

Hi @la_vet,

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

Regards,
Alec Smecher
Public Knowledge Project Team

we are using OJS 3.0.2

This error was fixed by opening the server firewall to probably communicate with doaj-site.
please close this topic

Hi,
we use OJS 3.1.0.1 (updating is currently no option but in planning for August, when a new server is set up). We have the same problem as stated above. XML export for DOAJ article registration gives the same error. In addition, XML export for DOI registration at Datacite gives the following:

Validation errors:
Failed to locate the main schema resource at ‘http://schema.datacite.org/meta/kernel-4/metadata.xsd’.
Invalid XML:

<?xml version="1.0" encoding="utf-8"?>

… complete xml file

When I uncheck the ‘validate xml box’ registration works just fine. Might this be related and a communication problem between servers?

I am an managing editor and I am not proficient in setting up and changing server settings. What would I have to tell our IT guy to do?

Hi @heike_riegler,

Hmm, maybe that schema file went down temporarily or is inaccessible from your server? It appears online to me.

In any case, the message means that your system was trying to get a description of the way the XML should be formed in order to check it, but couldn’t get the description. As you’ve noted, telling it to skip the check should work fine, and I suggest just doing that.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi,

we’re using OJS 3.1.1.2 and have the same problem. Registeriung the DOIs gives us the error “Failed to locate the main schema resource at ‘http://schema.datacite.org/meta/kernel-4/metadata.xsd”. And yes, we can register the DOIs once we’ve deactivated the validation, but I think there must be a reason for this error. We’ve checked our server regulations, but everything seems alright. We’ve also checked some other validators, which gave us the same error. It also requested xsd, but the file unter http://schema.datacite.org/meta/kernel-4/metadata.xsd has xs. Maybe this is connected with the problem?

Kind regards
Daniela

1 Like

Hi everyone,

the reason of this problem is the setting allow_url_fopen=0 in the PHP settings ([OJS] 3.0.0 schemaValidate, proxy settings and allow_url_fopen · Issue #1955 · pkp/pkp-lib · GitHub). Our IT department doesn’t want to set it to 1, so we cannot use the XML validation.

Just for your information in case other people have the same problem.

Kind regards
Daniela

1 Like

Hello everyone,

OJS 3.0.2

We have a problem with the DOAJ plugin. The 301 moved permanently issue is solved, but when we try to register some articles it throws the DOAJ error: forbidden, and the articles don’t get indexed.

Is there someone else with this issue?

Thank you for your time,
Best regards

1 Like

error in mEDRA export plugin

— Comment or Message —

Hi
Gives an error in converting files to xml.
http://jltll.ierf.ir
How to fix this problem? Gives the following message

Validation errors:

Failed to locate the main schema resource at ‘http://www.medra.org/schema/onix/DOIMetadata/2.0/ONIX_DOIMetadata_2.0.xsd’.
Invalid XML:

Sharif Pardazeshgar Danesh Co. - Customer Relation Manager,
Mokhberi Hadiseh
ghoroghi.sinaweb@gmail.com
mEDRA
202002281455
This dataset was exported with ojs2, version 3.1.0.1.

06
10.22034/jltll.v2i2.52
http://jltll.ierf.ir/index.php/home/article/view/52
Abstraction
Sharif Pardazeshgar Danesh Co. - Customer Relation Manager,
mEDRA

01
1-4-52

01
Journal of Language Teaching, Literature & Linguistics (JLTLL) - آموزش زبان، ادبیات و زبان شناسی

01
Osool Al-Dīn College & International E-Research Foundation (IERF)

IR

01
1

JD
01
Open Journal Systems (OJS)

07
26453428

JB

2
2
Vol 2 No 2: September 2019

4

49
75

01
A Review of Language Teachers’ Identity Development: A Focus on Cultural Identity Theories

1
A01
Hussein Meihami
Meihami, Hussein

PhD in Applied Linguistics, Department of Foreign Languages and Linguistics, Shiraz University, Iran

2
A01
Naser Rashidi
Rashidi, Naser

Professor of TEFL, Department of Foreign Languages and Linguistics Shiraz University, Iran

3
A01
Rahman Sahragard
Sahragard, Rahman

Professor of Applied Linguistics, Department of Foreign Languages and Linguistics Shiraz University, Iran

4
A01
Seyyed Ayatolah Razmjoo
Razmjoo, Seyyed Ayatolah

Professor of TEFL, Department of Foreign Languages and Linguistics Shiraz University, Iran

01
eng

23
Cultural Identity;Narratives;Professional Development;Positioning Theory

01

Teacher identity has been considered among the most influential key factors in the realm of teacher education. Studies on teacher identity help teacher educators to find new and conducive approaches to develop teacher identity in different contexts. This study is a theoretical review aiming to accentuate the recent underlying concepts of teacher identity, language teacher identity, and language teacher cultural identity. To those ends, we scrutinize the related issues such as the different perspectives about identity; key concepts in teacher identity including teacher professional identity, teacher motivation and identity, teacher emotion and identity, and narratives and teacher identity along with non-native English language teacher identify construction and reflexivity and language teacher identity. Moreover, a review of the related theories about cultural identity has been done and presented to address the most referred theories of cultural identity. Finally, some concluding remarks about the theoretical underpinnings of language teacher cultural identity have been discussed.

20190903

81

01
1-4

06
10.22034/jltll.v2i2

89

01
1-4-52-g67

Could not convert selected objects…

Hi @Ahmad_Mohamadi,

Someone will respond to your post at Error in mEDRA export plugin – please don’t post the same things in several places, as it clutters the forum.

Thanks,
Alec Smecher
Public Knowledge Project Team

Hey thanks for your contribution

I activated the allow_url_fopen setting to On/Enabled on the php management and it didn’t worked. Also i dont have any restriction on the firewall

How can i solve this?

Is it possible to disable de Validation? If so how can i make it?

Hi @marcos-mendez,

Please follow up on the other thread – I’d like to avoid splitting the conversation into several places.

Thanks,
Alec Smecher
Public Knowledge Project Team

For those encountering the DOAJ export errors:

element decl. ‘language’, attribute ‘type’: The QName value ‘{http://www.doaj.org/schemas/iso_639-2b/1.0 1}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 1}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 1}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 1}LanguageCodeType’ does not resolve to a(n) simple type definition.

There is a github issue entry and patch available here:
https://github.com/pkp/pkp-lib/issues/5682

Regards,
Alec Smecher
Public Knowledge Project Team

2 Likes