[OAI-implementers] set spect error
Tim Brody
tim@tim.brody.btinternet.co.uk
Wed, 23 Apr 2003 16:40:41 +0100
You aren't returning any records for your set:
http://www.ibict.br/cgi-bin/ibict/oai.pl?verb=ListIdentifiers&set=cience&met
adataPrefix=oai_dc
Only a resumptionToken. The clue is in "(header+,resumptionToken?)", which
is regular expression speak for match header 1 or more times, match
resumption token 0 or 1 times.
You should be returning a noRecordsMatch error if there are no records that
match the OAI query.
To sum-up: Every OAI response should either be an error, a complete list, or
a partial list (records+resumption token).
All the best,
Tim.
----- Original Message -----
From: "Ramon Martins Sodoma da Fonseca" <ramon@ibict.br>
To: "Oai-Implementers (E-mail)" <oai-implementers@oaisrv.nsdl.cornell.edu>
Sent: Tuesday, April 22, 2003 5:52 PM
Subject: [OAI-implementers] set spect error
Dear fellow implementers..
we have been working on the protocol and doing the fine tuning (I hope)
we had the setSpec work, but when I click on the set link on the OAI
Explorer, which I believe shows all the records of that set, it shows me the
following error
"
Parsed Output
XML Schema Validation Error !
[Error] fileS0qUiQ:10:20: The content of element type "ListIdentifiers" must
match "(header+,resumptionToken?)".
/tmp/fileS0qUiQ: 1106 ms (5 elems, 8 attrs, 9 spaces, 77 chars)
XML Output
<?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>2003-04-22T16:43:58Z</responseDate>
<request verb="ListIdentifiers" metadataPrefix="oai_dc"
set="cience">http://www.ibict.br/cgi-bin/ibict/oai.pl</request>
<ListIdentifiers>
<resumptionToken cursor="0"
completeListSize="6">cience!!!oai_dc!3</resumptionToken>
</ListIdentifiers>
</OAI-PMH>
"
this is how it shows when asking for the listSets verb:
"
List of Sets
Click on the link to list the contents
Ciência e Informação <>
set description:
dc:
description: Teses e Dissertações Eletrônicas sobre ciência e ciência
da informação
Request : http://www.ibict.br/cgi-bin/ibict/oai.pl, verb=ListSets
Response Date : 2003-04-22T16:41:01Z
"
this is the base url for testing:
http://www.ibict.br/cgi-bin/ibict/oai.pl
any input is welcome...
thank you
............................................................................
.................................................
Ramón Martins S. da Fonseca
Desenvolvimento Web
IBICT - Instituto Brasileiro de Informação em Ciência e Tecnologia
+55 61 217 6443 / 6347
............................................................................
.................................................
_______________________________________________
OAI-implementers mailing list
OAI-implementers@oaisrv.nsdl.cornell.edu
http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers