Bugzilla – Attachment 16897 Details for
Bug 9613
items namespace missing in XSLT
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9613: items namespace missing in XSLT
Bug-9613-items-namespace-missing-in-XSLT.patch (text/plain), 3.24 KB, created by
Marcel de Rooy
on 2013-03-26 15:47:40 UTC
(
hide
)
Description:
Bug 9613: items namespace missing in XSLT
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2013-03-26 15:47:40 UTC
Size:
3.24 KB
patch
obsolete
>From 3183d2eabcdb2cf7f25ae0aa6512d1c7aad6706b Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 14 Feb 2013 14:23:30 +0100 >Subject: [PATCH] Bug 9613: items namespace missing in XSLT >Content-Type: text/plain; charset="utf-8" > >In some XSLT, "items" namespace is used in exclude-result-prefixes but is not defined. > >This patch add this namespace where missing. >Also corrects a koha.org, instead of koha-community.org, in one namespace URL. > >Test plan : >- Enable XSLT on search results >- Perform a search >=> Look at error logs to check that there is no xsl error like : >[Fri Feb 08 15:35:06 2013] [error] [client 127.0.0.1] [Fri Feb 8 15:35:06 2013] opac-search.pl: compilation error: file koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl line 8 element stylesheet, referer: http://opac.master.community.localhost/cgi-bin/koha/opac-detail.pl?biblionumber=299 >[Fri Feb 08 15:35:06 2013] [error] [client 127.0.0.1] [Fri Feb 8 15:35:06 2013] opac-search.pl: xsl:exclude-result-prefixes : undefined namespace items, referer: http://opac.master.community.localhost/cgi-bin/koha/opac-detail.pl?biblionumber=299 > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Passed-QA-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >With comment on Bugzilla. >--- > .../prog/en/xslt/UNIMARCslim2intranetResults.xsl | 2 +- > .../prog/en/xslt/UNIMARCslimUtils.xsl | 1 + > .../opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl | 1 + > 3 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl >index 963fd72..62b6b7f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl >@@ -2,7 +2,7 @@ > <!-- $Id: MARC21slim2DC.xsl,v 1.1 2003/01/06 08:20:27 adam Exp $ --> > <xsl:stylesheet version="1.0" > xmlns:marc="http://www.loc.gov/MARC21/slim" >- xmlns:items="http://www.koha.org/items" >+ xmlns:items="http://www.koha-community.org/items" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > exclude-result-prefixes="marc items"> > <xsl:import href="UNIMARCslimUtils.xsl"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >index faad011..7a92d2d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >@@ -4,6 +4,7 @@ > > <xsl:stylesheet version="1.0" > 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"> > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >index 09bd9e0..91d9b3d 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl >@@ -4,6 +4,7 @@ > > <xsl:stylesheet version="1.0" > 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"> > >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9613
:
15315
|
15350
|
15439
|
16897
|
17391
|
17492