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:14:51 +0200

Salut,

Première prise de contact....

>Dans sdx/sitempa.xmap, on a :
>
><map:match pattern="oai/*/*">
>  <map:generate type="xsp" src="oai/oai.xsp">
>    <map:parameter name="app" value="{1}"/>
>    <map:parameter name="base" value="{2}"/>
>  </map:generate>
>  <map:transform type="elementStripper"/>
>  <map:serialize type="xml"/>
></map:match>
>
>Donc on accède à l'entrepôt via une URL de type
>http://[monserveur]/sdx/sdx/oai/[monappli]/[mabase]/, avec les verbes
>OAI.

Mmmh... c'est canonique comme syntaxe ? Ca donne des URL du type :
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=Identify
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=ListMetadataFormats

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

ne serait pas plus indiqué ?

Sinon :
Dans
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=ListMetadataFormats,
on renvoie :

- <ListMetadataFormats>
- <metadataFormat>
  <metadataPrefix>sdx</metadataPrefix>
  <schema>tempSchemaUrl</schema>

<metadataNamespace>http://www.culture.gouv.fr/ns/sdx/sdx</metadataNamespace>
  </metadataFormat>
- <metadataFormat>
  <metadataPrefix>oai_dc</metadataPrefix>
  <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
  <metadataNamespace>http://purl.org/dc/elements/1.1/</metadataNamespace>
  </metadataFormat>
  </ListMetadataFormats>

Le premier schéma ne peut-il pas être monté dans le système de fichiers pour
renvoyer à qqe chose de plus concret ?

Comment voyez-vous une implémentation de
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=ListSets ?

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 ?

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

Sinon, je vais tester les réponses d'erreur :
http://localhost:8080/sdx/sdx/oai/sdxtest/sdxworld?verb=ListMetadataFormats&identifier=xxx
ne semble pas correspondre à la norme p.e. (devrait renvoyer un <error
code="idDoesNotExist">, non ?).

Idem : pas trouvé de réponse "badVerb" ?!

A bientôt,

p.b.






reply via email to

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