Bugzilla – Attachment 6466 Details for
Bug 7141
The biblio details page in the intranet doesn't work if XSLT is activated and the xsl file contains " "
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Group the 3 patches
0001-Fix-a-problem-when-translations-contain-nbsp-various.patch (text/plain), 23.26 KB, created by
Frédéric Demians
on 2011-11-30 08:32:27 UTC
(
hide
)
Description:
Group the 3 patches
Filename:
MIME Type:
Creator:
Frédéric Demians
Created:
2011-11-30 08:32:27 UTC
Size:
23.26 KB
patch
obsolete
>From 699e19fdd0d62ecb0b22b983e16dbb9e9a707b87 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= > <frederick.capovilla@libeo.com> >Date: Wed, 2 Nov 2011 10:56:33 -0400 >Subject: [PATCH] Fix a problem when translations contain various XSL > files >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >With new 3.6.1 translation files, the lake of 'nbsp' entity definition make >fail t/00-valid-xml.t test. > >This patch applies to HEAD and 3.6.x. > >How to test: > > - checkout 3.6.x branch > - generate French templates: > cd misc/translator > ./translate install fr-FR > cd ../.. > - run test: > prove -v t/00-valid-xml.t > you get failing error message > - apply this patch > - run test again: it passes > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> >--- > .../intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl | 3 +++ > .../intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl | 1 + > .../intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl | 1 + > .../prog/en/xslt/MARC21slim2MODS3-1.xsl | 3 ++- > .../prog/en/xslt/MARC21slim2MODS3.xsl | 1 + > .../prog/en/xslt/MARC21slim2MODS32.xsl | 1 + > .../prog/en/xslt/MARC21slim2OAIDC.xsl | 5 ++++- > .../prog/en/xslt/MARC21slim2RDFDC.xsl | 3 ++- > .../prog/en/xslt/MARC21slim2RDFDC.xsl.1 | 5 ++++- > .../intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl | 3 +++ > .../prog/en/xslt/MARC21slim2SRWDC.xsl | 5 ++++- > .../prog/en/xslt/MARC21slim2intranetDetail.xsl | 3 +++ > .../prog/en/xslt/MARC21slim9522852.xsl | 1 + > .../intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 1 + > .../prog/en/xslt/MARC21slimUtils2.xsl | 3 ++- > .../prog/en/xslt/NORMARCslim2OAIDC.xsl | 5 ++++- > .../intranet-tmpl/prog/en/xslt/UNIMARC_compact.xsl | 4 +++- > .../prog/en/xslt/UNIMARCslim2OAIDC.xsl | 3 +++ > koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl | 1 + > .../prog/en/xslt/oilsMARC21slim2HTML.xsl | 1 + > .../prog/en/xslt/MARC21slim2OPACMARCdetail.xsl | 3 ++- > .../opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 1 + > .../prog/en/xslt/NORMARCslim2OPACDetail.xsl | 3 +++ > .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 3 +++ > .../opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl | 1 + > koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl | 4 +++- > 27 files changed, 60 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl >index e706763..2d6d5ba 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl >index 2b038c9..2ba9cf1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2DC.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <!-- $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" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl >index 33ccb81..c641b8c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:xlink="http://www.w3.org/TR/xlink" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns="http://www.loc.gov/mods/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:include href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3-1.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3-1.xsl >index e78a888..a4ac1b2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3-1.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3-1.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xlink marc"> > <xsl:include href="http://www.loc.gov/marcxml/xslt/MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes" encoding="UTF-8"/> >@@ -2518,4 +2519,4 @@ Added Log Comment > <metaInformation> > <scenarios/><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3.xsl >index 54cda25..e040c76 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS3.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns="http://www.loc.gov/mods/v3" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xlink marc"> > <xsl:include href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes" encoding="UTF-8"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS32.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS32.xsl >index 13b25b4..a4cd457 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS32.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2MODS32.xsl >@@ -1,3 +1,4 @@ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet xmlns="http://www.loc.gov/mods/v3" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xlink marc" version="1.0"> > <xsl:include href="MARC21slimUtils.xsl"/> > <xsl:output encoding="UTF-8" indent="yes" method="xml"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl >index 60975e0..289bde7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2OAIDC.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >@@ -197,4 +200,4 @@ > <metaInformation> > <scenarios/><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl >index 23ffe7c..b888431 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >@@ -194,4 +195,4 @@ > <metaInformation> > <scenarios ><scenario default="no" name="MODS Website Samples" userelativepaths="yes" externalpreview="no" url="..\xml\MARC21slim\modswebsitesamples.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/><scenario default="no" name="Ray Charles" userelativepaths="yes" externalpreview="no" url="..\xml\MARC21slim\raycharles.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/><scenario default="yes" name="s6" userelativepaths="yes" externalpreview="no" url="..\ifla\sally6.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/><scenario default="no" name="s7" userelativepaths="yes" externalpreview="no" url="..\ifla\sally7.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/><scenario default="no" name="s12" userelativepaths="yes" externalpreview="no" url="..\ifla\sally12.xml" htmlbaseurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl.1 b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl.1 >index b78e860..00201a7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl.1 >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RDFDC.xsl.1 >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >@@ -208,4 +211,4 @@ > <metaInformation> > <scenarios ><scenario default="yes" name="RDF" userelativepaths="yes" externalpreview="no" url="marcxmlfile.xml" htmlbaseurl="" outputurl="" processortype="internal" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl >index 89074ea..f16fcc4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils2.xsl"/> > <xsl:output method="xml" indent="yes"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl >index 96daef1..e01e38c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2SRWDC.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:srw_dc="info:srw/schema/1/dc-schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes" encoding="UTF-8"/> >@@ -257,4 +260,4 @@ > <metaInformation> > <scenarios/><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >index b0de609..1860684 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <!-- $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" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim9522852.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim9522852.xsl >index 617844f..351e366 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim9522852.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim9522852.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <!-- $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" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >index cfc434e..46b35fa 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl >@@ -1,4 +1,5 @@ > <?xml version='1.0'?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template name="datafield"> > <xsl:param name="tag"/> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils2.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils2.xsl >index ca68bb7..8998b53 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils2.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils2.xsl >@@ -1,4 +1,5 @@ > <?xml version='1.0'?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <!-- 8/19/04: ntra added "marc:" prefix to datafield element --> > <xsl:template name="datafield"> >@@ -76,4 +77,4 @@ > <xsl:otherwise><xsl:value-of select="$chopString"/></xsl:otherwise> > </xsl:choose> > </xsl:template> >-</xsl:stylesheet> >\ No newline at end of file >+</xsl:stylesheet> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2OAIDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2OAIDC.xsl >index 60975e0..289bde7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2OAIDC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/NORMARCslim2OAIDC.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="marc"> > <xsl:import href="MARC21slimUtils.xsl"/> > <xsl:output method="xml" indent="yes"/> >@@ -197,4 +200,4 @@ > <metaInformation> > <scenarios/><MapperInfo srcSchemaPath="" srcSchemaRoot="" srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/> > </metaInformation> >---> >\ No newline at end of file >+--> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARC_compact.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARC_compact.xsl >index 7891650..7b69a0c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARC_compact.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARC_compact.xsl >@@ -1,5 +1,7 @@ > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> >- >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns="http://www.w3.org/1999/xhtml" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl >index 0e5a80d..4c69044 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2OAIDC.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet version="1.0" > xmlns:marc="http://www.loc.gov/MARC21/slim" > xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl >index 22b8b78..263b140 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl >@@ -1,4 +1,6 @@ > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns="http://www.w3.org/1999/xhtml" >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl >index e26ccb7..2e0743e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/identity.xsl >@@ -1,3 +1,4 @@ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <!-- identity transformation --> > <!-- Whenever you match any node or any attribute --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/oilsMARC21slim2HTML.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/oilsMARC21slim2HTML.xsl >index f41b110..8f49e73 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/oilsMARC21slim2HTML.xsl >+++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/oilsMARC21slim2HTML.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="html"/> > >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl >index ee4058a..fe18b80 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slim2OPACMARCdetail.xsl >@@ -1,4 +1,5 @@ > <?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:output method="html"/> > >@@ -52,4 +53,4 @@ > <xsl:when test="position()=last()"><xsl:text> </xsl:text></xsl:when><xsl:otherwise><br /></xsl:otherwise></xsl:choose> > </xsl:template> > >-</xsl:stylesheet> >\ No newline at end of file >+</xsl:stylesheet> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >index 27d0891..9ec913c 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/MARC21slimUtils.xsl >@@ -1,4 +1,5 @@ > <?xml version='1.0'?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template name="datafield"> > <xsl:param name="tag"/> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >index d2b6b1b..1a4e042 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACDetail.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <!-- $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" >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >index a5534ee..9d5323c 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslim2OPACResults.xsl >@@ -1,4 +1,7 @@ > <?xml version="1.0" encoding="UTF-8"?> >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <!-- $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" >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl >index 7c2bf21..31317b1 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/NORMARCslimUtils.xsl >@@ -1,4 +1,5 @@ > <?xml version='1.0'?> >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> > <xsl:stylesheet version="1.0" xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:template name="datafield"> > <xsl:param name="tag"/> >diff --git a/koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl b/koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl >index 22b8b78..17c9b67 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl >+++ b/koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl >@@ -1,5 +1,7 @@ > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> >- >+ >+<!DOCTYPE stylesheet [<!ENTITY nbsp " " >]> >+ > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns="http://www.w3.org/1999/xhtml" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >-- >1.7.6.1 >
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 7141
:
6148
|
6149
|
6150
|
6160
|
6456
|
6466
|
6641
|
6642
|
6644