From 13c9959c608eebd9523edcaac1cb7270abe5c67e Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 24 Jun 2015 16:06:05 +0200 Subject: [PATCH] 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 Signed-off-by: Mason James --- .../marc_defs/marc21/authorities/authority-koha-indexdefs.xml | 2 +- .../marc_defs/unimarc/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 752cd57317..52652bc76a 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 3dd486bb18..2695c94933 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 -- 2.39.5