sdx-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sdx-developers] Entrepots OAI


From: Pierrick Brihaye
Subject: Re: [sdx-developers] Entrepots OAI
Date: Mon, 12 May 2003 21:40:25 +0200

Re,

> Un truc du genre :
>
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld/oai?verb=ListMetadataFormats

ou oai.xsp ou oai-repository...

> Pourquoi
>
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=GetRecord&metadataPrefix=oai_dc&identifier=bora
> me renvoie-t-il :
> <error code="idDoesNotExist">The value of the identifier argument, bora,
is
> unknown or illegal in this repository.</error> L'identifiant varie entre
> base SDX et base OAI ?

Trouvé :
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=GetRecord&metadataPrefix=oai_dc&identifier=sdx:localhost:8080:sdxtest/sdxworld/sangis

Pourquoi pas ? La réponse est :

<?xml version="1.0" encoding="utf-8" ?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/";
xmlns:xsp="http://apache.org/xsp";
xmlns:oai="http://www.culture.gouv.fr/ns/oai/";
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-05-12T19:29:54Z</responseDate>
  <request verb="GetRecord"
identifier="sdx:localhost:8080:sdxtest/sdxworld/sangis"
metadataPrefix="oai_dc">http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld</
request>
  <GetRecord>
    <record>
      <header>
        <identifier>sdx:localhost:8080:sdxtest/sdxworld/sangis</identifier>
        <datestamp>2003-05-12T18:24:06Z</datestamp>
      </header>
      <metadata>
        <oai_dc:dc
xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/";
xmlns:dc="http://purl.org/dc/elements/1.1/";
xsi:schemaLocation="http://purl.org/dc/elements/1.1/http://purl.org/dc/eleme
nts/1.1/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>

<dc:identifier>http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld/sangis</dc
:identifier>
          <dc:source>http://sangis.brgm.fr</dc:source>
          <dc:title>Catalogue collectif du réseau SANGIS</dc:title>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>

Il ne manque pas une espace dans  dans oai_dc:dc/@xsi:schemaLocation ?
Pourquoi une différence entre header/identifier et metadata/dc:identifier ?

> Le paramètre "verb" a un comportement . C'est normal ?

Pas très clair :-) voir la fin du précédent message (j'ai fait des essais
avec plusieurs casses pour 'verb')

Est-ce que la limitation du nombre de résultats est implémentée ? Si oui,
comment se configure-t-elle ? Histoire de tester les resumptionToken...

A+

p.b.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]