https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43020
--- Comment #4 from David Cook <[email protected]> --- For testing, I used "nc" to listen: nc -C -N -k -l -p 5000 -v And then I manually sent responses like these: HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Connection: close <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/"> <responseDate>2026-08-06T02:58:00Z</responseDate> <request>http://localhost:5000/oaitest</request> </OAI-PMH> HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Connection: close <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd"> <responseDate>2026-08-06T03:00:00Z</responseDate> <request verb="ListMetadataFormats">http://localhost:5000/oaitest</request> <ListMetadataFormats> <metadataFormat> <metadataPrefix>marcxml</metadataPrefix> <schema>http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd</schema> <metadataNamespace>http://www.loc.gov/MARC21/slim</metadataNamespace> </metadataFormat> </ListMetadataFormats> </OAI-PMH> HTTP/1.1 200 OK Content-Type: text/xml; charset=UTF-8 Connection: close <?xml version="1.0" encoding="UTF-8"?> <OAI-PMH xsi:schemaLocation='http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd' xmlns='http://www.openarchives.org/OAI/2.0/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> <responseDate>2026-08-06T02:48:47Z</responseDate> <request metadataPrefix='marcxml' verb='ListRecords'>http://localhost:5000/oaitest</request> <ListRecords> <record> <header><identifier>oaitest:1</identifier><datestamp>2026-08-06T02:46:52Z</datestamp></header> <metadata> <record xmlns='http://www.loc.gov/MARC21/slim' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd'> <leader>01344cam a22003014i 4500</leader> <controlfield tag='001'>1</controlfield> <controlfield tag='005'>20200129130600.0</controlfield> <controlfield tag='008'>120829t20132012nyu bk 001 0ceng </controlfield> <datafield ind1='1' ind2='0' tag='245'> <subfield code='a'>Test title :</subfield> <subfield code='b'>test subtitle /</subfield> <subfield code='c'>Test author.</subfield> </datafield> </record> </metadata> </record> <record> <header><identifier>oaitest:2</identifier><datestamp>2026-08-06T02:46:52Z</datestamp></header> <metadata> <record xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://www.loc.gov/MARC21/slim' xsi:schemaLocation='http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd'> <leader>00879pam a2200265 a 4500</leader> <controlfield tag='001'>2</controlfield> <controlfield tag='005'>20200421093816.0</controlfield> <controlfield tag='008'>900202s1990 nyua 001 0 eng </controlfield> <datafield tag="100" ind1="" ind2=""/> <datafield tag='245' ind2='4' ind1='1'> <subfield code='a'>Bad record /</subfield> <subfield code='c'></subfield> </datafield> <datafield tag='1000' ind2=' ' ind1=' '> <subfield code='a'></subfield> </datafield> </record> </metadata> </record> <record> <header><identifier>oaitest:3</identifier><datestamp>2026-08-06T02:46:52Z</datestamp></header> <metadata> <record xmlns='http://www.loc.gov/MARC21/slim' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd'> <leader>01344cam a22003014i 4500</leader> <controlfield tag='001'>3</controlfield> <controlfield tag='005'>20200129130600.0</controlfield> <controlfield tag='008'>120829t20132012nyu bk 001 0ceng </controlfield> <datafield ind1='1' ind2='0' tag='245'> <subfield code='a'>Test title 2:</subfield> <subfield code='b'>test subtitle 2/</subfield> <subfield code='c'>Test author 2.</subfield> </datafield> </record> </metadata> </record> </ListRecords> </OAI-PMH> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
