From 3d0170511ea2c4c59c36adac4d46a8e28aa5d025 Mon Sep 17 00:00:00 2001 From: Zeno Tajoli Date: Tue, 1 Mar 2016 11:18:04 +0100 Subject: [PATCH] [BUG 15946] Fix for link and schema about MARCXML This path fixes the value of xml schema variable and the link to Library of Congress. For Dublin Core format those values are defined in UNIMARCslim2OAIDC.xsl and MARC21slim2OAIDC.xsl. For MARCXML those values are writte into the code To test it: 1)Setup OAI-PMH 2)Test the site inserting the BaseURL into http://validator.oaipmh.com 3)See the problem with ListMetadataFormats [link: http://validator.oaipmh.com/#ListMetadataFormats] 4)Insert the patch 5)See the problem is over --- Koha/OAI/Server/ListMetadataFormats.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/OAI/Server/ListMetadataFormats.pm b/Koha/OAI/Server/ListMetadataFormats.pm index d78b084..47463a7 100644 --- a/Koha/OAI/Server/ListMetadataFormats.pm +++ b/Koha/OAI/Server/ListMetadataFormats.pm @@ -46,8 +46,8 @@ sub new { ) ); $self->metadataFormat( HTTP::OAI::MetadataFormat->new( metadataPrefix => 'marcxml', - schema => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd', - metadataNamespace => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim' + schema => 'http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd', + metadataNamespace => 'http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim' ) ); } -- 2.1.4