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

@ -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,7 +138,7 @@ melm 215 Extent
#Series
melm 225$a Title-series,Title-series:p
melm 225$d Title-series,Title-series:p
#SubTitle
#SubTit
melm 225$e Title-series,Title-series:p
#Authors
melm 225$f Author,Author:p,Name-and-title,Name-and-title:p