[OJS 3.2.0.3] - Problems with OAI-PMH validator - ListRecords response well-formed but invalid

Hi there,

We recently updated our version of OJS to 3.2.0.3.

I’m trying to validate URL “http://publicacoes.ifc.edu.br/index.php/metapre/oai” using the base http://oval.base-search.net/.

The result passes the first tests, but this one shows an error:
ERROR: ListRecords response well-formed but invalid: Element ‘{http://www.w3.org/2001/XMLSchema}element’, attribute ‘ref’: The QName value ‘{http://purl.org/dc/elements/1.1/}title’ does not resolve to a(n) element declaration., line 23

Can anyone help me solve this problem?

Thank you in advance.

Hi @plinio.garcia_ifc,

Unfortunately I think this is a third party issue. The OJS OAI interface states that it’s compliant with the schema http://www.openarchives.org/OAI/2.0/oai_dc.xsd. That file refers in turn to http://dublincore.org/schemas/xmls/simpledc20021212.xsd, which looks like it now redirects to https://dublincore.org/schemas/xmls/simpledc20021212.xsd (note the https). It looks like the validation tool used by BASE can’t handle the redirect to https and is failing. This doesn’t mean that your OAI interface can’t function, though. Short of ceasing the use of the http://www.openarchives.org/OAI/2.0/oai_dc.xsd URL entirely (which I think would be a bad outcome), there’s nothing we can do within OJS to change it.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you. @asmecher.

Do you know of another validation tool used by BASE that may support https?

Or any alternative that allows me to insert my journal on www.base-search.net.

Thanks again for your help.

Hi @plinio.garcia_ifc,

I don’t know the BASE toolset, but I suspect you’d need to pass their validator to get added to their database. I’ve contacted the maintainer of openarchives.org to see if they can update their schema file from http to https; you might also want to contact BASE to see if they have already encountered this issue and have a recommended resolution.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher,

Thanks for your effort. I will contact BASE. Any news that can help other users I will post on this topic, ok?

Best regards.

Hi @plinio.garcia_ifc,

That would be much appreciated, yes!

Thanks,
Alec Smecher
Public Knowledge Project Team

1 Like

Hey @asmecher,

Just to inform that we have contacted the support of BASE tool and they fixed the problem on their validator reading this topic.
Thanks.

1 Like