Dear Pablo, I think that behaviour is because the default configuration of the OAI service in Koha doesn't provide the sets feature. To enable it, you need to set the advanced-mode OAI configuration, which I guess is not the case in that DEMO you picked. If you find that even in the advanced mode (with sets defined) the feature doesn't behave as expected, please fill a bug at http://bugs.koha-community.org. The same applies for the implicit request for a stylesheet. Kind regards Tomas 2015-08-05 13:27 GMT-03:00 Pablo Bianchi <pablo.bianchi@gmail.com>:
Hi!
I notice that other implementations of OAI-PMH servers give an error when setSpec specified doesn't exist. For example:
+ set=foo on Koha ( <http://catalog.bywatersolutions.com/cgi-bin/koha/oai.pl?verb=ListRecords&from=2010-01-01&set=foo&metadataPrefix=oai_dc> ByWaters <http://catalog.bywatersolutions.com/cgi-bin/koha/oai.pl?verb=ListRecords&from=2010-01-01&set=foo&metadataPrefix=oai_dc> ) <http://catalog.bywatersolutions.com/cgi-bin/koha/oai.pl?verb=ListRecords&from=2010-01-01&set=foo&metadataPrefix=oai_dc> : List records anyway + set=foo on a Greenstone v2.82 <http://digital.bl.fcen.uba.ar/gsdl-282/cgi-bin/oaiserver.cgi?verb=ListRecords&metadataPrefix=oai_dc&set=foo> : Return an error.
This behavior is expected? I shuld fill a bug?
Cheers, Pablo
PS: BTW, with the use of <?xml-stylesheet tag > that response is much nicer than Koha one!
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
-- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F