Hello Nick,

OAI configuration is located under dspace/config/crosswalks/oai

All of these files are XML (or XML-based XSL Transformations), so the error message implies that some the these XML files is invalid. Candidates include

- xoai.xml or description.xml that include general configuration e.g. regarding metadata formats, or
 - metadataFormats/oai_dc.xsl that provides the logic for oai_dc format.

Please check these with XML validator/parser and correct if needed - or compare with default ones such as https://github.com/DSpace/DSpace/blob/dspace-7_x/dspace/config/crosswalks/oai/metadataFormats/oai_dc.xsl

More details on OAI implementation:
https://wiki.lyrasis.org/display/DSDOC7x/OAI+2.0+Server


Best regards,
Miika Nurminen

On 18.2.2025 0:13, Joyner Library wrote:
Dear DSpace Community,

We got a report that someone was trying to access oai records at

https://thescholarship.ecu.edu/server/oai/request? verb=ListRecords&metadataPrefix=oai_dc&set=com_10342_122 <https:// thescholarship.ecu.edu/server/oai/request? verb=ListRecords&metadataPrefix=oai_dc&set=com_10342_122>

but received a 500 error. Please help me troubleshoot this error.

I noticed an error in the tomcat logs but don't know what file or record to edit.   SXXP0003: Error reported by XML parser: Invalid byte 1 of 1-byte UTF-8 sequence.
Error on line 7 column 158
  SXXP0003: Error reported by XML parser: Invalid byte 1 of 1-byte UTF-8 sequence.
Error on line 1 column 2084

I have attached the dspace log because it has a more detailed version of the error.

Thank you,
Nick

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx <https:// www.lyrasis.org/about/Pages/Code-of-Conduct.aspx>
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com <mailto:dspace- tech+unsubscr...@googlegroups.com>. To view this discussion visit https://groups.google.com/d/msgid/dspace- tech/9fee7789-59c3-424a-af91-4a87b77f2ed0n%40googlegroups.com <https:// groups.google.com/d/msgid/dspace-tech/9fee7789-59c3-424a- af91-4a87b77f2ed0n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/dspace-tech/dc49e1f0-51d4-4572-86f9-67be079e84cc%40gmail.com.

Reply via email to