We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52ffe4b commit 3d7802dCopy full SHA for 3d7802d
1 file changed
Resources/Private/Templates/OaiPmh/Main.xml
@@ -16,7 +16,7 @@
16
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
17
<responseDate><f:format.date format="Y-m-d\TH:i:s\Z">now</f:format.date></responseDate>
18
<f:comment>As per the specification, don't show arguments on badVerb or badArgument.</f:comment>
19
- {f:if(condition: '{error} == "badVerb" || {error} == "badArgument"', then: '{}', else: '{parameters}') -> f:variable(name: 'shownParameters')}
+ {f:if(condition: '{error} == "badVerb" || {error} == "badArgument"', then: '{verb: "identify"}', else: '{parameters}') -> f:variable(name: 'shownParameters')}
20
<request{f:if(condition: i.isFirst, then: ' {key}="{value}"', else: ' {key}="{value}"') -> f:for(each:'{shownParameters}', as:'value', key:'key', iteration:'i')}><f:uri.page absolute="1" /></request>
21
<f:if condition="{error}">
22
<f:then>
0 commit comments