scieloorg / search-journals

iAHx Search Interface for SciELO
http://search.scielo.org
BSD 2-Clause "Simplified" License
3 stars 13 forks source link

Invalid XML response on the search.scielo.org API #537

Open joseph6x opened 3 years ago

joseph6x commented 3 years ago

Descrição do problema

When the "output=xml" parameter is added to the query string the response is a raw Solr json with the content-type: text/xml .

Passos para reproduzir o problema

Open one of these examples on any browser:

Example 1 Example 2

Comportamento esperado

Last time I checked the XML API I got a valid XML response.

Screenshots ou vídeos

image

Anexos

I am not sure but I think it might be related to the XSLT file changes made for the new Solr version.

Old solr: https://github.com/scieloorg/search-journals/blob/master/solr/5.5.5/cores/articles/xslt/export-xml.xsl#L50

New solr: https://github.com/scieloorg/search-journals/blob/master/solr/8.5.1/cores/solrdata/data/articles/xslt/export-xml.xsl#L49

Ambiente utilizado

gitnnolabs commented 2 years ago

Em conversa com a equipe esse endpoint será removido, já que essa ferramenta não tem esse proposito.