From d2bc9e1af15108a8793caa3201d9ea524207645d Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Sat, 9 Apr 2011 08:06:00 -0400 Subject: [PATCH] Bug 3072: Add Heading-Main and Any to MARC21 DOM Content-Type: text/plain; charset="UTF-8" The Heading-Main and Any indexes were not defined in the MARC21 authority DOM rules, but was enabled by the fix for bug 5924. This patch adds the Heading-Main and Any indexes to the MARC21 DOM authority configuration. This is a revised patch, with the authority-zebra-indexdefs.xsl automatically generated from authority-koha-indexdefs.xml. Note that Any is added by koha-indexdefs-to-zebra.xsl rather than in the authority-koha-indexdefs.xml file. Signed-off-by: Jared Camins-Esakov --- .../authorities/authority-koha-indexdefs.xml | 42 +++++- .../authorities/authority-zebra-indexdefs.xsl | 165 ++++++++++++++++++++ .../marc21/authorities/koha-indexdefs-to-zebra.xsl | 5 + 3 files changed, 211 insertions(+), 1 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 8b56ad0..2515317 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-koha-indexdefs.xml @@ -53,11 +53,16 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s - + Personal-name-see-from:w Personal-name-see-from:p @@ -93,6 +98,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -133,6 +143,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -173,6 +188,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -213,6 +233,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -254,6 +279,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -294,6 +324,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s @@ -334,6 +369,11 @@ Heading:p Heading:s + + Heading-Main:w + Heading-Main:p + Heading-Main:s + Match-heading:p Match-heading:s diff --git a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl index c05b711..9538e6f 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/authority-zebra-indexdefs.xsl @@ -161,6 +161,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -227,6 +247,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -293,6 +333,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -359,6 +419,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -425,6 +505,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -491,6 +591,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -557,6 +677,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -623,6 +763,26 @@ + + + + + + + + -- + + + + + + + + + + + + @@ -1826,4 +1986,9 @@ + + + + + diff --git a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl index 57c6321..d466611 100644 --- a/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl +++ b/etc/zebradb/marc_defs/marc21/authorities/koha-indexdefs-to-zebra.xsl @@ -54,6 +54,11 @@ + + + + + -- 1.7.2.3