Bugzilla – Attachment 15350 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.12 KB, created by
Kyle M Hall (khall)
on 2013-02-15 12:20:43 UTC
(
hide
)
Description:
Bug 9613: items namespace missing in XSLT
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-02-15 12:20:43 UTC
Size:
3.12 KB
patch
obsolete
>From 7c51bf0b1d743cc4cc1a510c5ff1c30355ad7853 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 > >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> >--- > .../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.2.5
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