Bug 22085: fix UNIMARC default XSLT broken by Bug 14716
Bug 14716 added a call to encode-uri() and namespace str. This namespace declaration is sometimes missing in UNIMARC default XSLT files. This patch adds namespace declaration also where encode-uri is not used because it may be used in the future. And those files are the base for home made custom files. Test plan : 1) Use a UNIMARC DB 2) Use default in all XSLT sysprefs 3) Apply patch 4) Perform a search on OPAC 5) Check display is OK 6) Click on a record for detail page 7) Check display is OK 8) Perform a search on staff interface 9) Check display is OK 10) Click on a record for detail page 11) Check display is OK Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> (cherry picked from commit76c10a5dcd) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commitc494f474ec) Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
This commit is contained in:
parent
6d75a7cf36
commit
51ffaa8a0c
|
|
@ -6,7 +6,8 @@
|
|||
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
||||
xmlns:items="http://www.koha-community.org/items"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="marc items">
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
exclude-result-prefixes="marc items str">
|
||||
|
||||
<xsl:import href="UNIMARCslimUtils.xsl"/>
|
||||
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@
|
|||
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
||||
xmlns:items="http://www.koha-community.org/items"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="marc items">
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
exclude-result-prefixes="marc items str">
|
||||
|
||||
<xsl:import href="UNIMARCslimUtils.xsl"/>
|
||||
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
|
||||
<xsl:key name="item-by-status" match="items:item" use="items:status"/>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
||||
xmlns:items="http://www.koha-community.org/items"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="marc items">
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
exclude-result-prefixes="marc items str">
|
||||
|
||||
<xsl:import href="UNIMARCslimUtils.xsl"/>
|
||||
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@
|
|||
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
||||
xmlns:items="http://www.koha-community.org/items"
|
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
exclude-result-prefixes="marc items">
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
exclude-result-prefixes="marc items str">
|
||||
|
||||
<xsl:import href="UNIMARCslimUtils.xsl"/>
|
||||
<xsl:output method = "html" indent="yes" omit-xml-declaration = "yes" encoding="UTF-8"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue