In MARC21slimOPACResults.xsl on line 1083, there is a xsl:call-template with a select in addition to a name attribute. Select can not be used with xsl:call-template. This throws an error in Saxon and is invalid xslt. As far as I can tell this select can simply be removed as the xsl:for-each parent statement is using the same logic. -Winona
Created attachment 39830 [details] [review] Bug 14326 - XSLT Syntax error in MARC21slimOPACResults.xsl Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Perform an opac search check "Availability" for expected display values. 5) Note this patch corrects invalid syntax in xslt, there should be no visable changes to the results page.
Created attachment 39939 [details] [review] [SIGNED OFF] Bug 14326 - XSLT Syntax error in MARC21slimOPACResults.xsl Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Perform an opac search check "Availability" for expected display values. 5) Note this patch corrects invalid syntax in xslt, there should be no visable changes to the results page. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Created attachment 40518 [details] [review] Bug 14326 - XSLT Syntax error in MARC21slimOPACResults.xsl Test Plan: 1) Apply this patch 2) Ensure you are using the default XSLT setting for the staff and opac record details 3) Perform an opac search check "Availability" for expected display values. 5) Note this patch corrects invalid syntax in xslt, there should be no visable changes to the results page. Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Introduced by bug 4421.
Patch pushed to master. Thanks Winona!
Pushed to 3.20.x will be in 3.20.2
Pushed to 3.18.x will be in 3.18.09
Pushed to 3.16.x, will be in 3.16.13