From 1e8423167ec7bcffe9851d237230c27cd2f32a2c Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 16 Aug 2012 18:19:20 +0100 Subject: [PATCH] Bug 8653 remove erroneous whitespace blocking indexing The superfluous whitespace after the definition of subject tag $9s is causing an error when carried over into dom config files so that the authority links fail to index Also removed the (harmless) trailing space in the equivalent Unimarc files A good editor and git can help in not creating excess whitespace Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- .../marc21/biblios/biblio-koha-indexdefs.xml | 22 +++++++------- .../marc21/biblios/biblio-zebra-indexdefs.xsl | 24 +++++++-------- .../marc_defs/marc21/biblios/record.abs | 30 +++++++++---------- .../unimarc/biblios/biblio-koha-indexdefs.xml | 8 ++--- .../marc_defs/unimarc/biblios/record.abs | 10 +++---- 5 files changed, 47 insertions(+), 47 deletions(-) diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml index 544b2ee30a..9219000a2f 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml @@ -662,7 +662,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -671,7 +671,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -681,11 +681,11 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -694,7 +694,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -703,7 +703,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -712,7 +712,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -721,7 +721,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -756,7 +756,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -810,7 +810,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w @@ -831,7 +831,7 @@ - Koha-Auth-Number :w + Koha-Auth-Number:w diff --git a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl index 491871935e..06b788211a 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl @@ -558,7 +558,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -567,7 +567,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -576,7 +576,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -585,7 +585,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -594,7 +594,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -603,7 +603,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -612,7 +612,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -621,7 +621,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -653,7 +653,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -713,7 +713,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -736,7 +736,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + @@ -1110,7 +1110,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml) - + diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index 93f96b2dc8..0f8360eae2 100644 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -182,27 +182,27 @@ melm 630$n Thematic-number,Subject,Subject:p melm 630$r Music-key,Subject,Subject:p melm 630$9 Koha-Auth-Number melm 630 Subject,Subject:p -melm 650$9 Koha-Auth-Number +melm 650$9 Koha-Auth-Number melm 650 Subject,Subject:p -melm 651$9 Koha-Auth-Number +melm 651$9 Koha-Auth-Number melm 651 Name-geographic,Subject,Subject:p -melm 652$9 Koha-Auth-Number +melm 652$9 Koha-Auth-Number #melm 652 subject-heading,subject-heading:p -melm 653$9 Koha-Auth-Number +melm 653$9 Koha-Auth-Number melm 653 Subject,Subject:p -melm 654$9 Koha-Auth-Number +melm 654$9 Koha-Auth-Number melm 654 Subject,Subject:p -melm 655$9 Koha-Auth-Number +melm 655$9 Koha-Auth-Number melm 655 Subject,Subject:p -melm 656$9 Koha-Auth-Number +melm 656$9 Koha-Auth-Number melm 656 Subject,Subject:p -melm 657$9 Koha-Auth-Number +melm 657$9 Koha-Auth-Number melm 657 Subject,Subject:p -melm 658$a curriculum:w,curriculum:p,Subject,Subject:p -melm 658$b curriculum:w,curriculum:p,Subject,Subject:p -melm 658$c curriculum:w,curriculum:p,Subject,Subject:p +melm 658$a curriculum:w,curriculum:p,Subject,Subject:p +melm 658$b curriculum:w,curriculum:p,Subject,Subject:p +melm 658$c curriculum:w,curriculum:p,Subject,Subject:p melm 658 Subject,Subject:p -melm 690$9 Koha-Auth-Number +melm 690$9 Koha-Auth-Number melm 690 Subject,Subject:p melm 700$9 Cross-Reference,Koha-Auth-Number @@ -216,12 +216,12 @@ melm 700 Author,Author:p,Author-name-personal,Name,Editor,Personal-name melm 710$t Author-title,Name-and-title,Title,Title-uniform #melm 710$a author,author:p,Name-and-title melm 710$a Name-and-title -melm 710$9 Koha-Auth-Number +melm 710$9 Koha-Auth-Number melm 710 Author,Author:p,Corporate-name,Name melm 711$a Name-and-title #melm 711$t author,Author-title,Title,Title-uniform melm 711$t Author-title,Title,Title-uniform -melm 711$9 Koha-Auth-Number +melm 711$9 Koha-Auth-Number #melm 711 author,Author-name-corporate,Name,Conference-name melm 711 Author,Author:p,Author-name-corporate,Name,Conference-name melm 730$n Thematic-number @@ -291,7 +291,7 @@ melm 942$m cn-suffix melm 952$0 withdrawn:n,withdrawn:w melm 952$1 lost,lost:n melm 952$2 classification-source -melm 952$3 materials-specified +melm 952$3 materials-specified melm 952$4 damaged:n,damaged:w melm 952$5 restricted:n,restricted:w melm 952$6 cn-sort:n,cn-sort:s diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml index 16f434f5e3..68704697d1 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml @@ -358,7 +358,7 @@ Title-series:w - Title-series:p + Title-series:p @@ -370,17 +370,17 @@ Title-series:w - Title-series:p + Title-series:p Title-series:w - Title-series:p + Title-series:p Title-series:w - Title-series:p + Title-series:p diff --git a/etc/zebradb/marc_defs/unimarc/biblios/record.abs b/etc/zebradb/marc_defs/unimarc/biblios/record.abs index a30d10fce0..dcbc7a1af6 100644 --- a/etc/zebradb/marc_defs/unimarc/biblios/record.abs +++ b/etc/zebradb/marc_defs/unimarc/biblios/record.abs @@ -138,16 +138,16 @@ melm 215 Extent #Series melm 225$a Title-series,Title-series:p melm 225$d Title-series,Title-series:p -#SubTitle -melm 225$e Title-series,Title-series:p +#SubTit +melm 225$e Title-series,Title-series:p #Authors melm 225$f Author,Author:p,Name-and-title,Name-and-title:p #Part-Title -melm 225$h Title-series,Title-series:p +melm 225$h Title-series,Title-series:p #Part Number -melm 225$i Title-series,Title-series:p +melm 225$i Title-series,Title-series:p #Volume -melm 225$v Title-series,Title-series:p +melm 225$v Title-series,Title-series:p melm 225$x ISSN melm 230$a Electronic-ressource