EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09473
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- To: <eprints-tech@ecs.soton.ac.uk>, Agung Prasetyo W. <prazetyo@gmail.com>
- Subject: Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Wed, 8 Nov 2023 09:54:29 +0000
Hi,
I observed this recently and wrote a patch (after 3.4.5 was released):
https://github.com/eprints/eprints3.4/commit/87324eca63c8c5f048beda90e40114b67d212c88
Although the only change that was made to this since 3.4.4 was released was for this issue:
https://github.com/eprints/eprints3.4/issues/238
Which as far as I can tell does not have anything that could lead
to this error. Also my observation of this error is that it is
intermittent, across a number of different OAI-PMH pages. That is
why the fix says only adds this namespace if it has not already
been added rather than removing the adding of this namespace
completely (i.e. assuming somewhere else will add it).
Regards
David Newman
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Hi,
I am using eprints 3.4.5 and I encountered an error when accessing oai from our repository. I can't display List Records from OAI. Information appears as follows:
XML Parsing Error: duplicate attribute
Location: http://repo.domain.com/cgi/oai2?verb=ListRecords&metadataPrefix=oai_dc
Line Number 86, Column 287:
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc ="http://purl.org/dc/elements/1.1/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/ 2.0/oai_dc.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- -------------------------------------------------- ------------------------------------^
I also included a screenshot of the error.
Please help to resolve this error.
Thank you.
Regards,Agung Prasetyo Wibowo
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- From: "Agung Prasetyo W." <prazetyo@gmail.com>
- Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- References:
- [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- From: "Agung Prasetyo W." <prazetyo@gmail.com>
- [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- Prev by Date: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- Next by Date: Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- Previous by thread: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- Next by thread: Re: [EP-tech] OAI2 can not display List Records because XML Parsing Error: duplicate attribute
- Index(es):