scieloorg / Web

SciELO Web
www.scielo.br
6 stars 21 forks source link

Devolve o resultado do oai que está quebrando porque há um & que não está no formato de entidade #702

Closed robertatakenaka closed 4 years ago

robertatakenaka commented 4 years ago

O que esse PR faz?

Corrige o resultado do oai que está quebrando porque há um & que não está no formato de entidade

Onde a revisão poderia começar?

htdocs/oai/scielo-oai.php. L:157

Como este poderia ser testado manualmente?

Incorreto http://www.scielo.br/oai/scielo-oai.php?verb=ListRecords&metadataPrefix=oai_dc&set=2523-3106

Correto http://homolog.xml.scielo.br/oai/scielo-oai.php?verb=ListRecords&metadataPrefix=oai_dc&set=2523-3106

Algum cenário de contexto que queira dar?

A alteração na XSL não afetou o resultado do XML. No entanto, seria a forma apropriada para criar um novo elemento. Eu tinha pensado que o problema estava neste template.

O problema foi que o scielo-oai.php tinha convertido um & para & quebrando o resultado.

& anti-nucleosome antibodies. Results: Anti-C1q antibody showed a statistically significant association with the presence of vasculitis and nephritis while anti-nucleosome antibody didn't show a significant association with the presence of any clinical features. Double positivity of anti-nucleosome and anti-C1q antibodies showed a statistically significant association with the presence of vasculitis and photosensitivity, high ECLAM score, elevated ESR, low serum albumin and low C3 levels. Conclusion: Serum anti-C1q antibody has a significant association with LN while double positive antibodies have a significant association with vasculitis and low C3 levels in Egyptian patients with SLE.]]></dc:description><dc:rights>info:eu-repo/semantics/openAccess</dc:rights><dc:publisher><![CDATA[Sociedade Brasileira de Reumatologia]]></dc:publisher><dc:source><![CDATA[Advances in Rheumatology v.59 2019]]></dc:source><dc:date>2019-01-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>text/html</dc:format><dc:identifier>http://homolog.xml.scielo.br/scielo.php?script=sci_arttext&amp; tinha sido identificado como uma entidade e foi convertido para & anti-nucleosome antibodies. Results: Anti-C1q antibody showed a statistically significant association with the presence of vasculitis and nephritis while anti-nucleosome antibody didn't show a significant association with the presence of any clinical features. Double positivity of anti-nucleosome and anti-C1q antibodies showed a statistically significant association with the presence of vasculitis and photosensitivity, high ECLAM score, elevated ESR, low serum albumin and low C3 levels. Conclusion: Serum anti-C1q antibody has a significant association with LN while double positive antibodies have a significant association with vasculitis and low C3 levels in Egyptian patients with SLE.]]></dc:description><dc:rights>info:eu-repo/semantics/openAccess</dc:rights><dc:publisher><![CDATA[Sociedade Brasileira de Reumatologia]]></dc:publisher><dc:source><![CDATA[Advances in Rheumatology v.59 2019]]></dc:source><dc:date>2019-01-01</dc:date><dc:type>info:eu-repo/semantics/article</dc:type><dc:format>text/html</dc:format><dc:identifier>http://homolog.xml.scielo.br/scielo.php?script=sci_arttext&

gerando no final um caracter & que é inváldo no XML.

Screenshots

n/a

Quais são tickets relevantes?

701

Referências

n/a