[OAI-implementers] ListSets!

Xiaoming Liu liu_x@cs.odu.edu
Tue, 24 Sep 2002 14:33:31 -0400 (EDT)


On Tue, 24 Sep 2002, Ramon Martins Sodoma da Fonseca wrote:

> Hello group,
> 
> I´m receiving this error when asking for the ListSets verb.
> Our sets will probably be in Portuguese, so I wonder how to make this
> work...


In OAI-PMH2, the setDescription is a "description" container, see the
example in the protocol,
<setDescription>
      <oai_dc:dc 
          xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" 
.....................


>Does anyonone know how to implement the sets on the header portion of the
>record??

Probably you can simply maintain a mapping table between identifier and
its sets membership. 

regards,
liu




> 
> here´s the message.. on the OAI Explorer:
> XML Schema Validation Error !
> [Error] filedbMtlJ:12:64: The content of element type "setDescription" must
> match "(##other:uri=http://www.openarchives.org/OAI/2.0/)".
> [Error] filedbMtlJ:16:88: The content of element type "setDescription" must
> match "(##other:uri=http://www.openarchives.org/OAI/2.0/)".
> [Error] filedbMtlJ:20:89: The content of element type "setDescription" must
> match "(##other:uri=http://www.openarchives.org/OAI/2.0/)".
> [Error] filedbMtlJ:24:85: The content of element type "setDescription" must
> match "(##other:uri=http://www.openarchives.org/OAI/2.0/)".
> /tmp/filedbMtlJ: 1125 ms (20 elems, 4 attrs, 44 spaces, 376 chars)
> <?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>2002-09-24T17:40:06Z</responseDate>
> <request verb="ListSets">http://www.ibict.br/cgi-bin/ibict/oai.pl</request>
> 
> <ListSets>
> <set>
>   <setSpec>quimica</setSpec>
>   <setName>Teses e Dissertacoes:PUC-RIO</setName>
>  <setDescription>Teses eletronicas da PUC-RIO</setDescription></set>
> <set>
>   <setSpec>matematica</setSpec>
>   <setName>Grupo de Teses da USP</setName>
>  <setDescription>Grupo de teses com grau de formacao igual a
> Mestrado</setDescription></set>
> <set>
>   <setSpec>informacao</setSpec>
>   <setName>Grupo de Teses da USP</setName>
>  <setDescription>Grupo de teses com grau de formacao igual a
> Doutorado</setDescription></set>
> <set>
>   <setSpec>fisica</setSpec>
>   <setName>Grupo de Teses da Virginia Tech</setName>
>  <setDescription>Teses e Dissertacoes eletronicas da Virginia
> Tech</setDescription></set>
> </ListSets>
> 
> </OAI-PMH>
> 
> 
> ................................................
> Ramón Fonseca
> Design Gráfico & Multimídia
> Desenvolvimento Web
> ramal: 6443
>        6447
> ................................................
> 
>