Hello,

yes in v4 Guidelines for Literature Repositores the field is mandatory
when applicable, meaning that if funded it must be present in the
specific form.
Maybe this was different in an older version.
In DSpace 5.5 OpenAire is on version 1.1 and Dspace 6.x on v 3.0. If you
want to use 4.0 you most likely will have to do adjustments.

The openaireRelationCondition
https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace/config/crosswalks/oai/xoai.xml#L398

<CustomCondition id="openaireRelationCondition">
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
            <Configuration>
                <string name="field">dc.relation</string>
                <string name="operator">starts_with</string>
                <string
name="value">info:eu-repo/grantAgreement/EC/FP</string>
            </Configuration>
</CustomCondition>

means that at least one dc.relation has to be present and the value of
dc.relation has to start with
info:eu-repo/grantAgreement/EC/FP
But this is just the condition definition not used yet.

It is used in the openAireFilter
https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace/config/crosswalks/oai/xoai.xml#L232
and there all the items not meeting the condition are excluded

You item does not meet the condition as dc.relation does not start with
info:eu-repo/grantAgreement/EC/FP

your value: info:eu-repo/grantAgreement/EC/H2020/655092/DebtRisks

Hope this helps

Claudia Jürgen





Am 20.05.2019 um 13:44 schrieb Evelthon Prodromou:
Hi Claudia,

dc.relation is a Mandatory when Applicable field. I am wondering if it
allows records with no dc.relation to be validated as openaire records (and
pass the filter).

According to openAire guidelines (
https://guidelines.openaire.eu/en/latest/literature/field_projectid.html)
this field is not always applicable.

The class in xoai.xml for this field is DSpaceAtLeastOneMetadataFilter.
Doesn't this mean it requires of at least one dc.relation field to exists
in the records?

Kind regards,

Evelthon

On Friday, May 17, 2019 at 4:50:15 PM UTC+3, Claudia Jürgen wrote:

Hi Evelthon,

most likely they do not pass the openAireFilter

https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace/config/crosswalks/oai/xoai.xml#L240

The record you mentioned is in the the oai index

https://gnosis.library.ucy.ac.cy/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai:gnosis.library.ucy.ac.cy:7/46107

And taking a closer look it does not pass the openaireRelationCondition

https://github.com/DSpace/DSpace/blob/dspace-5.5/dspace/config/crosswalks/oai/xoai.xml#L403

Your record has the entry
<dim:field mdschema="dc"
element="relation">info:eu-repo/grantAgreement/EC/H2020/655092/DebtRisks</dim:field>


Hope this helps

Claudia Jürgen


Am 17.05.2019 um 15:12 schrieb Evelthon Prodromou:
Hello all,


I am trying to view records in the OAI UI for openaire, but nothing is
displayed in List Identifier or List Records (see
https://gnosis.library.ucy.ac.cy/oai/)


A record that should be listed as openaire valid is this one
https://gnosis.library.ucy.ac.cy/handle/7/46107?show=full


I 've also seen another post (
https://groups.google.com/d/msg/dspace-tech/eMwxGpyFW0E/LNgKd01iBwAJ
) mentioning editing xoai.xml but I am not really sure what is needed.


Lastly I should mentioned that I have cleared the oai cache and
recreated
it with *dspace oai import -o -c *




Please shed some light on what I am missing.


Kind regards,

Evelthon

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de <javascript:>
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential.
It is solely intended for the recipient. If you are not the intended
recipient of this e-mail please contact the sender and delete this message.
Thank you. Without prejudice of e-mail correspondence, our statements are
only legally binding when they are made in the conventional written form
(with personal signature) or when such documents are sent by fax.


--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended for the recipient. If you are not the intended recipient of 
this e-mail please contact the sender and delete this message. Thank you. 
Without prejudice of e-mail correspondence, our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/89403ace-92ab-ff48-2208-d80f10ca1a24%40tu-dortmund.de.

Reply via email to