For OAI-PMH we need to declare an header for the format MARCXML This header uses links to Library of Congress site. Those links are not well written, this error gives you problem with OAI-PMH validators like http://validator.oaipmh.com/. The problem is present in 3.22 and 3.20 also.
Created attachment 48494 [details] [review] Fix for master
Created attachment 48495 [details] [review] Fix for 3.22
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
Created attachment 48532 [details] [review] Bug 15946 Valid namespace for OAI marcxml schema 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 written 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 Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Invalid before patch, valid after.
Created attachment 48533 [details] [review] Bug 15946 Valid namespace for OAI marcxml schema (3.22/3.20) 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 written 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 Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Invalid before patch, valid after.
Created attachment 49360 [details] [review] [PASSED QA] Bug 15946 Valid namespace for OAI marcxml schema 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 written 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 Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Invalid before patch, valid after. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 49361 [details] [review] [PASSED QA] Bug 15946 Valid namespace for OAI marcxml schema (3.22/3.20) 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 written 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 Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Invalid before patch, valid after. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to Master (only the first patch) @RMaint please notice patch for 3.22 - This should be in the May 2016 Release. Thanks!
(In reply to Brendan Gallagher from comment #8) > @RMaint please notice patch for 3.22 Noticed! Thanks Patch pushed to 3.22.x, will be in 3.22.5
Pushed to 3.20.x, will be in 3.20.10