Bugzilla – Attachment 6150 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]
Follow-up patch : Corrects other xsl files so doesn't cause problems.
0001-Follow-up-patch-Corrects-other-xsl-files-so-nbsp-doe.patch (text/plain), 10.22 KB, created by
Frédérick Capovilla
on 2011-11-02 20:57:53 UTC
(
hide
)
Description:
Follow-up patch : Corrects other xsl files so doesn't cause problems.
Filename:
MIME Type:
Creator:
Frédérick Capovilla
Created:
2011-11-02 20:57:53 UTC
Size:
10.22 KB
patch
obsolete
>From 1480f87253797094593b1e867c510f486a213e4c 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 16:50:16 -0400 >Subject: [PATCH] Follow-up patch : Corrects other xsl files so doesn't cause problems. > >--- > .../intranet-tmpl/prog/en/xslt/MARC21slim2ATOM.xsl | 3 +++ > .../prog/en/xslt/MARC21slim2OAIDC.xsl | 5 ++++- > .../prog/en/xslt/MARC21slim2RDFDC.xsl.1 | 5 ++++- > .../intranet-tmpl/prog/en/xslt/MARC21slim2RSS2.xsl | 3 +++ > .../prog/en/xslt/MARC21slim2SRWDC.xsl | 5 ++++- > .../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 ++ > .../prog/en/xslt/NORMARCslim2OPACDetail.xsl | 3 +++ > .../prog/en/xslt/NORMARCslim2OPACResults.xsl | 3 +++ > koha-tmpl/opac-tmpl/prog/en/xslt/compact.xsl | 4 +++- > 12 files changed, 39 insertions(+), 6 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/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.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/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/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/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.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 7141
:
6148
|
6149
|
6150
|
6160
|
6456
|
6466
|
6641
|
6642
|
6644