File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
lib/oai/provider/metadata_format Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 11module OAI ::Provider ::Metadata
2- # = OAI::Metadata::DublinCore
3- #
2+
43 # Simple implementation of the Dublin Core metadata format.
54 class DublinCore < Format
6-
5+
76 def initialize
87 @prefix = 'oai_dc'
98 @schema = 'http://www.openarchives.org/OAI/2.0/oai_dc.xsd'
@@ -19,9 +18,9 @@ def header_specification
1918 'xmlns:oai_dc' => "http://www.openarchives.org/OAI/2.0/oai_dc/" ,
2019 'xmlns:dc' => "http://purl.org/dc/elements/1.1/" ,
2120 'xmlns:xsi' => "http://www.w3.org/2001/XMLSchema-instance" ,
22- 'xsi:schemaLocation' =>
23- %{http://www.openarchives.org/OAI/2.0/oai_dc/
24- http://www.openarchives.org/OAI/2.0/oai_dc.xsd}
21+ 'xsi:schemaLocation' =>
22+ %{http://www.openarchives.org/OAI/2.0/oai_dc/
23+ http://www.openarchives.org/OAI/2.0/oai_dc.xsd} . gsub ( / \s +/ , ' ' )
2524 }
2625 end
2726
You can’t perform that action at this time.
0 commit comments