Bugzilla – Attachment 48495 Details for
Bug 15946
Broken link to LoC in MARCXML declaration for OAI-PMH ListMetadataFormats
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for 3.22
0001-BUG-15946-3.22-Fix-for-link-and-schema-about-MARCXML.patch (text/plain), 1.57 KB, created by
Zeno Tajoli
on 2016-03-01 10:50:46 UTC
(
hide
)
Description:
Fix for 3.22
Filename:
MIME Type:
Creator:
Zeno Tajoli
Created:
2016-03-01 10:50:46 UTC
Size:
1.57 KB
patch
obsolete
>From 6a8f4025341ca7cdd923f4403c409eb10cb938e9 Mon Sep 17 00:00:00 2001 >From: Zeno Tajoli <z.tajoli@cineca.it> >Date: Tue, 1 Mar 2016 11:44:42 +0100 >Subject: [PATCH] [BUG 15946] 3.22 - Fix for link and schema about MARCXML > >As the patch for master, this patch apply on 3.22 (and 3.20 probably). > >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 >--- > opac/oai.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/opac/oai.pl b/opac/oai.pl >index 7eb0f6b..c8ea08b 100755 >--- a/opac/oai.pl >+++ b/opac/oai.pl >@@ -203,8 +203,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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15946
:
48494
|
48495
|
48532
|
48533
|
49360
|
49361