From f53c289c1528e89f80d8287ff549763acd3800af Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 24 Jun 2015 16:06:05 +0200 Subject: [PATCH] [PASSED QA] Bug 14453: kohaidx is missing for id in authority-koha-indexdefs.xml In authority-koha-indexdefs.xml, all tags use the namespace "kohaidx" except the tag "id". When re-generating authority-zebra-indexdefs.xsl, the line : is modified : This is an error. This patch adds kohaidx namespace to correct. Test plan : - Without patch - go to etc/zebradb/marc_defs/marc21/authorities/ - run : xslproc xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl - read authority-zebra-indexdefs.xsl => the line has changed : - Apply patch - go to etc/zebradb/marc_defs/marc21/authorities/ - run : xslproc xsltproc ../../../xsl/koha-indexdefs-to-zebra.xsl authority-koha-indexdefs.xml > authority-zebra-indexdefs.xsl - read authority-zebra-indexdefs.xsl => the line has not changed (same for unimarc flavor) Signed-off-by: Mirko Tietgen Signed-off-by: Tomas Cohen Arazi As Mirko mentioned, the xslt's now generate the facet-processing templates in the authority xslt's too. They are harmless because we don't define facets for authority records. If we did, it would be harmless too. Signed-off-by: Kyle M Hall --- .../authorities/authority-koha-indexdefs.xml | 2 +- .../authorities/authority-koha-indexdefs.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml index 752cd57..52652bc 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml @@ -6,7 +6,7 @@ run the following command: authority-zebra-indexdefs.xsl` --> - marc:controlfield[@tag='001'] + marc:controlfield[@tag='001'] v x diff --git a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml index 3dd486b..2695c94 100644 --- a/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/unimarc/authorities/authority-koha-indexdefs.xml @@ -6,7 +6,7 @@ run the following command: authority-zebra-indexdefs.xsl` --> - marc:controlfield[@tag='001'] + marc:controlfield[@tag='001'] Local-Number:w -- 1.7.2.5