Are you using the Proai based provider or the built-in OAI provider? If you’re 
using the Proai based one, then you can configure a relationship from an object 
to a set object and all the objects that have that relationship in their 
RELS-EXT will be part of that set. The service is documented on this page:
http://fedora-commons.org/confluence/display/FCSVCS/OAI+Provider+Service+1.2

I don’t have any experience with the built-in one and it might not support 
configured sets (although I wouldn’t really know). You should be able to find 
more info on the Fedora-commons wiki.

Muzaffer Ozakca


From: Alberto Puerta Sales [mailto:[email protected]]
Sent: Tuesday, January 13, 2009 3:27 AM
To: [email protected]
Subject: [Fedora-commons-users] Fedora and OAI


 Hi all..
 I'm testing OAI in Fedora and I've done this test:
 http://re.cs.uct.ac.za/

 But I'm getting two errors:

(4) Testing : ListSets





URL : 
https://ec2-67-202-41-6.compute-1.amazonaws.com:8443/fedora/oai?verb=ListSets





------ Response from Xerces Schema Validation ------

[Error] re.HDuebm:8:14: cvc-complex-type.2.4.b: The content of element 
'ListSets' is not complete. One of 
'{"http://www.openarchives.org/OAI/2.0/":set}' is expected.







/tmp/re.HDuebm: 642;16;0 ms (4 elems, 4 attrs, 0 spaces, 96 chars)

------- End of Xerces Schema Validation Report  -------

------ Start of XML Response ------

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







<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/";

         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";







         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ 
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd";>







  <responseDate>2009-01-12T14:13:48Z</responseDate>

  <request 
verb="ListSets">https://ec2-67-202-41-6.compute-1.amazonaws.com:8443/fedora/oai</request>







  <ListSets>

  </ListSets>

</OAI-PMH>



------- End of XML Response -------

Test Result : FAIL!

**** [ERROR] XML Schema validation failed




(17) Testing : ListIdentifiers (mdp, mdp)

URL : 
https://ec2-67-202-41-6.compute-1.amazonaws.com:8443/fedora/oai?verb=ListIdentifiers&metadataPrefix=oai_dc&metadataPrefix=oai_dc







------ Start of XML Response ------

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

<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/";







         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ 
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd";>







  <responseDate>2009-01-12T14:17:01Z</responseDate>

  <request verb="ListIdentifiers" 
metadataPrefix="oai_dc">https://ec2-67-202-41-6.compute-1.amazonaws.com:8443/fedora/oai</request>







  <ListIdentifiers>

    <header>

      <identifier>oai:example.org:fedora-system:FedoraObject-3.0</identifier>

      <datestamp>2008-07-02T05:09:44Z</datestamp>

    </header>







    <header>

      <identifier>oai:example.org:Work:1</identifier>

      <datestamp>2009-01-07T11:45:17Z</datestamp>

    </header>

    <header>

      <identifier>oai:example.org:Work:25</identifier>







      <datestamp>2009-01-07T11:45:38Z</datestamp>

    </header>

    <header>

      <identifier>oai:example.org:fedora-system:ContentModel-3.0</identifier>

      <datestamp>2008-07-02T05:09:44Z</datestamp>







    </header>

    <header>

      
<identifier>oai:example.org:fedora-system:ServiceDefinition-3.0</identifier>

      <datestamp>2008-07-02T05:09:44Z</datestamp>

    </header>







    <header>

      
<identifier>oai:example.org:fedora-system:ServiceDeployment-3.0</identifier>

      <datestamp>2008-07-02T05:09:44Z</datestamp>

    </header>

    <header>







      <identifier>oai:example.org:OAI:1</identifier>

      <datestamp>2009-01-08T12:42:45Z</datestamp>

    </header>

    <header>

      <identifier>oai:example.org:OAI:2</identifier>







      <datestamp>2009-01-08T13:49:03Z</datestamp>

    </header>

  </ListIdentifiers>

</OAI-PMH>



------- End of XML Response -------

Test Result : FAIL!

**** [ERROR] Error tag expected but not found : badArgument



 In the first error I don't have defined any ListSet, but how can I set 
ListSets in Fedora if Fedora only admits METS and FOXML? I need information.

 The second error is a Fedora development error, I think the test I've done is 
quite important and I don't know how can Fedora fail in that point ¿somebody 
knows something about that? I can change OAIProviderServlet in Fedora if it is 
necessary.
 Thanks in advice.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to