Mengatasi Error DOI The value of element surname is not valid

Membahas mengenai digital object identifier (DOI) dan segala layanan RJI yang bekerjasama dengan CrossRef
haritsah
Posts: 8
Joined: 18 Oct 2021, 13:54

Mengatasi Error DOI The value of element surname is not valid

Post by haritsah »

Mengatasi Error DOI ketika submit XML di Crossreff dengan error seperti ini : The value '' of element 'surname' is not valid

Penyebabnya adalah kita tidak memasukkan nama family name untuk masing-masing author / penulis bahkan jika penulisnya hanya 1 kata saja, tetap harus dimasukkan. Solusinya ada 2 :
  • 1. Memasukan surname / family name / nama belakang ke masing2 author
Image
  • 2. mengganti kode pada file di folder OJS berikut pada baris kode 122
    plugins/importexport/crossref/filter/ArticleCrossrefXmlFilter.inc.php

Code: Select all

if (isset($familyNames[$locale]) && isset($givenNames[$locale])) {
menjadi

Code: Select all

if (!empty($familyNames[$locale]) && !empty($givenNames[$locale])) {
Kemudian save

Contoh Kode Error Crossref :

Code: Select all

<msg>Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
Error: cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\d\?]*[^\?\s]+[^\d]*' for type '#AnonType_surname'.
Error: cvc-type.3.1.3: The value '' of element 'surname' is not valid.
</msg>
PHARMADEMICA : Jurnal Kefarmasian dan Gizi
https://jurnal.poltekkespim.ac.id/index ... armademica