[Koha-bugs] [Bug 11232] Retrieve facets from Zebra

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 22 03:39:52 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11232

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31786|0                           |1
        is obsolete|                            |

--- Comment #73 from David Cook <dcook at prosentient.com.au> ---
Created attachment 31800
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31800&action=edit
Bug 11232: (followup) remove unnecesary namespace definition from all XML
elements

The previous patches for facet extraction from Zebra indexes set a default
namespace on the following files:

etc/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/normarc/biblios/biblio-koha-indexdefs.xml
etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml

and hence the XML file index_subfields can be cleaned by removing the
namespace.

To test:
- Apply this patch
- Run

$ for i in marc21 normarc unimarc
  do xsltproc etc/zebradb/xsl/koha-indexdefs-to-zebra.xsl \
              etc/zebradb/marc_defs/$i/biblios/biblio-koha-indexdefs.xml \
              > etc/zebradb/marc_defs/$i/biblios/biblio-zebra-indexdefs.xsl
  done

=> SUCCESS: no errors reported

- Run
$ git diff
=> SUCCESS: no differences on the xsl files

- Sign off :-D

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: David Cook <dcook at prosentient.com.au>

Seems to work with DOM and MARC21.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list