SRUVersion is still accepted in code but not in schema.
</varlistentry>
<varlistentry>
- <term>SRUVersion</term><listitem>
+ <term>sruVersion</term><listitem>
<para>
Specifies the SRU version to use. It unset, version 1.2 will be
used. Some servers do not support this version, in which case
<cclmap_term>s=al</cclmap_term>
<cclmap_ti>1=title s=pw t=l,r</cclmap_ti>
<sru>get</sru>
- <SRUVersion>1.1</SRUVersion>
+ <sruVersion>1.1</sruVersion>
<transform>tmarc.xsl</transform>
<zurl>localhost:9998/db01</zurl>
<sortStrategy>embed</sortStrategy>
{
s->sru = mp::xml::get_text(ptr);
}
- else if (!strcmp((const char *) ptr->name, "SRUVersion"))
+ else if (!strcmp((const char *) ptr->name, "SRUVersion") ||
+ !strcmp((const char *) ptr->name, "sruVersion"))
{
s->sru_version = mp::xml::get_text(ptr);
}
element mp:recordEncoding { xsd:string }?,
element mp:requestSyntax { xsd:string }?,
element mp:sru { xsd:string }?,
- element mp:SRUVersion { xsd:string }?,
+ element mp:sruVersion { xsd:string }?,
element mp:transform { xsd:string }?,
element mp:literalTransform { xsd:string }?,
element mp:urlRecipe { xsd:string }?,