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> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
parent
94dde6b48d
commit
e884a627bb
|
|
@ -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'
|
||||
) );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue