[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sdx-developers] Probleme avec sdxtest sous sdx 2.2
From: |
Pierrick Brihaye |
Subject: |
Re: [sdx-developers] Probleme avec sdxtest sous sdx 2.2 |
Date: |
Wed, 26 Nov 2003 19:20:14 +0100 |
Re,
> Oui, bien sûr : mais est-ce sdxtest ne doit pas être un bon
> (?) exemple de repository OAI ?
Heu... qui dit le contraire ?
En ajoutant :
baseURL="http://localhost:8080/sdx/oai/sdxtest/sdxworld"
tout va impeccable... enfin presque.
Si :
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=Identify
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=ListIdentifiers&metadataPrefix=oai_dc
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=ListMetadataFormats
tournent comme prévu (ainsi que
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=ListSets, toujours aussi
vide),
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=ListRecords&metadataPrefix=oai_dc
me renvoie du XML incomplet :
<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"
xmlns:xsp="http://apache.org/xsp"
xmlns:oai="http://www.culture.gouv.fr/ns/oai/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<responseDate>2003-11-26T17:58:24Z</responseDate>
<request verb="ListRecords"
metadataPrefix="oai_dc">http://localhost:8888/sdx/oai/sdxtest/sdxworld</requ
est>
<ListRecords>
<record>
<header>
<identifier>sdx:localhost:8888:sdxtest/sdxworld/bibx</identifier>
<datestamp>2003-11-26T17:52:03Z</datestamp>
</header>
Manque l'élément metadata. Rien trouvé dans les logs ; j'ai bien un message
sur la console, mais avec mes 25 lignes... :-)
Idem pour :
http://localhost:8888/sdx/oai/sdxtest/sdxworld?verb=GetRecord&identifier=sdx:localhost:8888:sdxtest/sdxworld/bibx&metadataPrefix=oai_dc
<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"
xmlns:xsp="http://apache.org/xsp"
xmlns:oai="http://www.culture.gouv.fr/ns/oai/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<responseDate>2003-11-26T18:15:45Z</responseDate>
<request verb="GetRecord"
identifier="sdx:localhost:8888:sdxtest/sdxworld/bibx"
metadataPrefix="oai_dc">http://localhost:8888/sdx/oai/sdxtest/sdxworld</requ
est>
<GetRecord>
<record>
<header>
<identifier>sdx:localhost:8888:sdxtest/sdxworld/bibx</identifier>
<datestamp>2003-11-26T17:52:03Z</datestamp>
</header>
Même topo.
Note : port 8888 ; je teste sous Jetty.
Je vais regarder ça.
A+
p.b.