Skip to content
Snippets Groups Projects
Commit c3ec9082 authored by Paul Millar's avatar Paul Millar
Browse files

OAI-PMH problems: fix various cosmetic problems

parent d2c8b266
No related branches found
No related tags found
1 merge request!73Various fixes and adding MX-RDR
......@@ -64,8 +64,8 @@ The problem appears some time between 2024-12-22 and 2025-01-01.
## ESRF
1. The endpoint is somewhat slow at responding. On average, takes some 800 ms
to respond to requests. For comparison, HZDR takes some 80 ms to respond to
such requests.
to respond to ListIdentifiers requests. For comparison, HZDR takes some 80
ms to respond to such requests.
2. The GetRecord request produces non-complying DataCite output: there's a
rogue `I` in the output, immediately after the `dates` metadata property.
......@@ -86,7 +86,7 @@ paul@monkeywrench:~$ curl -s 'https://icatplus.esrf.fr/oaipmh/request?verb=ListR
## ESS
1. Endpoint responds with a 403 Forbidden HTTP response
1. Endpoint responds with a 403 HTTP status code.
```console
paul@monkeywrench:~$ curl -s -D- 'https://oai.panosc.ess.eu/openaire/oai?verb=Identify'
......@@ -101,7 +101,7 @@ Request forbidden by administrative rules.
paul@monkeywrench:~$
```
## EuXFEL
## European XFEL
1. Malformed response:
......@@ -145,7 +145,6 @@ paul@monkeywrench:~$
1. See above common issue on Collection vs Dataset.
## HZDR
1. Some of the set names have rogue spaces at beginning or end.
......@@ -188,7 +187,8 @@ This can also be seen because the output doesn't validate:
```console
paul@monkeywrench:~$ curl -s 'https://fairdata.ill.fr/openaire/oai?verb=ListIdentifiers&metadataPrefix=oai_dc'|xmllint --format -|sed -n 's/.*xsi:schemaLocation=\"\([^"]*\)".*/\1/p'
http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd
paul@monkeywrench:~$ curl -s -L -O http://www.openarchives.org/OAI/2.0/OAI-PMH.xsdpaul@monkeywrench:~$ curl -s 'https://fairdata.ill.fr/openaire/oai?verb=ListIdentifiers&metadataPrefix=oai_dc'|xmllint --schema OAI-PMH.xsd --noout -
paul@monkeywrench:~$ curl -s -L -O http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd
paul@monkeywrench:~$ curl -s 'https://fairdata.ill.fr/openaire/oai?verb=ListIdentifiers&metadataPrefix=oai_dc'|xmllint --schema OAI-PMH.xsd --noout -
-:2: element record: Schemas validity error : Element '{http://www.openarchives.org/OAI/2.0/}record': This element is not expected. Expected is ( {http://www.openarchives.org/OAI/2.0/}header ).
- fails to validate
paul@monkeywrench:~$
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment