Skip to content

Commit a86db36

Browse files
committed
Making schemaLocation whitespace so simple that any parser can handle it.
1 parent 3ad25b6 commit a86db36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oai/provider/response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def header
4949
'xmlns' => "http://www.openarchives.org/OAI/2.0/",
5050
'xmlns:xsi' => "http://www.w3.org/2001/XMLSchema-instance",
5151
'xsi:schemaLocation' => %{http://www.openarchives.org/OAI/2.0/
52-
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd}
52+
http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd}.gsub(/\s+/, ' ')
5353
}
5454
end
5555
def extract_identifier(id)

0 commit comments

Comments
 (0)