Dear all,

in the last few days, I had this problem, too. Yesterday, I found the solution for driver:
In xoai.xml, I adjusted the driverAccessCondition:

Old:
<CustomCondition id="driverAccessCondition">
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
            <Configuration>
                <string name="field">dc.rights</string>
                <string name="operator">contains</string>
                <list>
                    <string>open access</string>
                    <string>openAccess</string>
                </list>
            </Configuration>
        </CustomCondition>

My solution:
<CustomCondition id="driverAccessCondition">
<Class>org.dspace.xoai.filter.DSpaceAtLeastOneMetadataFilter</Class>
            <Configuration>
                <string name="field">dc.rights</string>
                <string name="operator">contains</string>
                    <string name="value">openAccess</string>
               </Configuration>
        </CustomCondition>

First, I added at the string the attribute 'name="value"'. As we use for dc.rights only the value "openAccess", I deleted the version "open access" and now, I get results in Driver. But maybe, it is possible to connect both values with an "or"?

Hope this helps.

Kind regards,
Marion

-----------------------------------
Marion Weber
Bibliotheks-IT
Universitäts- und Landesbibliothek Bonn
Postfach 2460, D-53014 Bonn
Tel. 0228 / 73 75 50 Fax: 0228 / 73 75 46
eMail: [email protected]
Internet: http://www.ulb.uni-bonn.de
Twitter: http://twitter.com/ulbbonn
Facebook: http://facebook.com/ulbbonn

Am 19.07.2016 um 17:03 schrieb Francis Brouns:
Dear Peter,

thanks for your quick reply, but our version of xoai.xml does not contain this typo.

We downloaded DSpace 5.4 on 3 December 2015.

best wishes, Francis

On Tuesday, 19 July 2016 16:00:51 UTC+2, Peter Dietz wrote:

    Hi Francis,

    One potential thing that I can think of. We recently had an issue
    with OAI config, and changed a typo that was in
    config/crosswalks/oai/xoai.xml, in which the filter has to change
    from "red" to "ref".
    
https://github.com/DSpace/DSpace/commit/563d90f7c4b4b738fc422a222ef997f6ca039367
    
<https://github.com/DSpace/DSpace/commit/563d90f7c4b4b738fc422a222ef997f6ca039367>

    Check your xoai.xml, to ensure that you have that change. You
    would need DSpace 5.4+ for this to work, as there were two bugs
    (one in xoai library, and a change to config to take effect).



    ________________
    Peter Dietz
    Longsight
    www.longsight.com <http://www.longsight.com>
    [email protected] <javascript:>
    p: 740-599-5005 x809

    On Tue, Jul 19, 2016 at 9:54 AM, Francis Brouns <[email protected]
    <javascript:>> wrote:

        Hi Rafa,

        did you manage to solve this problem? We have the same problem.

        best wishes, Francis
-- 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 [email protected]
        <javascript:>.
        To post to this group, send email to [email protected]
        <javascript:>.
        Visit this group at
        https://groups.google.com/group/dspace-tech
        <https://groups.google.com/group/dspace-tech>.
        For more options, visit https://groups.google.com/d/optout
        <https://groups.google.com/d/optout>.


--
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 [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to