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 <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Colin Campbell 2012-08-16 18:19:20 +01:00 committed by Paul Poulain
parent 7571a0e48b
commit 1e8423167e
5 changed files with 47 additions and 47 deletions

View file

@ -662,7 +662,7 @@
</index_data_field>
<!--record.abs line 177: melm 650$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="650" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 178: melm 650 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="650">
@ -671,7 +671,7 @@
</index_data_field>
<!--record.abs line 179: melm 651$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="651" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 180: melm 651 Name-geographic,Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="651">
@ -681,11 +681,11 @@
</index_data_field>
<!--record.abs line 181: melm 652$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="652" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 183: melm 653$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="653" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 184: melm 653 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="653">
@ -694,7 +694,7 @@
</index_data_field>
<!--record.abs line 185: melm 654$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="654" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 186: melm 654 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="654">
@ -703,7 +703,7 @@
</index_data_field>
<!--record.abs line 187: melm 655$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="655" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 188: melm 655 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="655">
@ -712,7 +712,7 @@
</index_data_field>
<!--record.abs line 189: melm 656$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="656" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 190: melm 656 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="656">
@ -721,7 +721,7 @@
</index_data_field>
<!--record.abs line 191: melm 657$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="657" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 192: melm 657 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="657">
@ -756,7 +756,7 @@
</index_data_field>
<!--record.abs line 197: melm 690$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="690" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 198: melm 690 Subject,Subject:p-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="690">
@ -810,7 +810,7 @@
</index_subfields>
<!--record.abs line 211: melm 710$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="710" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 212: melm 710 Author,Author:p,Corporate-name,Name-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="710">
@ -831,7 +831,7 @@
</index_subfields>
<!--record.abs line 216: melm 711$9 Koha-Auth-Number -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="711" subfields="9">
<target_index>Koha-Auth-Number :w</target_index>
<target_index>Koha-Auth-Number:w</target_index>
</index_subfields>
<!--record.abs line 218: melm 711 Author,Author:p,Author-name-corporate,Name,Conference-name-->
<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="711">

View file

@ -558,7 +558,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='650']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -567,7 +567,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='651']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -576,7 +576,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='652']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -585,7 +585,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='653']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -594,7 +594,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='654']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -603,7 +603,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='655']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -612,7 +612,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='656']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -621,7 +621,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='657']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -653,7 +653,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
<xslo:template mode="index_subfields" match="marc:datafield[@tag='690']">
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -713,7 +713,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -736,7 +736,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('9', @code)">
<z:index name="Koha-Auth-Number :w">
<z:index name="Koha-Auth-Number:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>
@ -1110,7 +1110,7 @@ definition file (probably something like {biblio,authority}-koha-indexdefs.xml)
</xslo:for-each>
<xslo:for-each select="marc:subfield">
<xslo:if test="contains('3', @code)">
<z:index name="materials-specified :w">
<z:index name="materials-specified:w">
<xslo:value-of select="."/>
</z:index>
</xslo:if>

View file

@ -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

View file

@ -358,7 +358,7 @@
<!--record.abs line 142: melm 225$e Title-series,Title-series:p -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="e">
<target_index>Title-series:w</target_index>
<target_index>Title-series:p </target_index>
<target_index>Title-series:p</target_index>
</index_subfields>
<!--record.abs line 144: melm 225$f Author,Author:p,Name-and-title,Name-and-title:p-->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="f">
@ -370,17 +370,17 @@
<!--record.abs line 146: melm 225$h Title-series,Title-series:p -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="h">
<target_index>Title-series:w</target_index>
<target_index>Title-series:p </target_index>
<target_index>Title-series:p</target_index>
</index_subfields>
<!--record.abs line 148: melm 225$i Title-series,Title-series:p -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="i">
<target_index>Title-series:w</target_index>
<target_index>Title-series:p </target_index>
<target_index>Title-series:p</target_index>
</index_subfields>
<!--record.abs line 150: melm 225$v Title-series,Title-series:p -->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="v">
<target_index>Title-series:w</target_index>
<target_index>Title-series:p </target_index>
<target_index>Title-series:p</target_index>
</index_subfields>
<!--record.abs line 151: melm 225$x ISSN-->
<index_subfields xmlns="http://www.koha-community.org/schemas/index-defs" tag="225" subfields="x">

View file

@ -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