[Koha-devel] deprecating zebra grs1 one day?

Mathieu Saby mathieu.saby at univ-rennes2.fr
Tue Sep 24 10:39:08 CEST 2013


Hi
It is http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8252

Read all the comments, I think you will understand the problem.
To make it short :

I think koha-indexdefs-to-zebra.xsl is wrong, because it does not take into account 1XX coded position UNIMARC fields. (in MARC21, only 0XX fields could have coded position values)
That's why 1XX were broken in DOM UNIMRAC

So I first try to write directly a "right" xsl file, and if it works, it means my intuition about koha-indexdefs-to-zebra.xsl is good and that it needs to be updated (and I don't know how to do that)


Mathieu

Frédéric Demians a écrit :
>> I had to edit by hand, because
>> etc/zebdradb/xml/koha-indexdefs-to-zebra.xsl does only support
>> "substring" in handle-one-index-control-field template. It is good
>> for MARC21, but not for UNIMARC : in MARC21, indexing substrings is
>> needed for controled field (001-009, with no subfields) But in
>> UNIMARC it is needed for subfields of 1XX fields. So if DOM indexing
>> is working with these new files, we may need to change
>> koha-indexdefs-to-zebra.xsl.
>>     
>
> In which patch have you modified koha-indexdefs-to-zebra.xsl file directly?
>
> The 'normal' way to modifiy Zebra DOM indexes is a two step process:
>
> 1. Edit indexes defintion in biblio-koha-indexes.xml file.
> 2. Generate Zebra index building XSL file koha-indexdefs-to-zebra.xsl
>    from indexes defintion file biblio-koha-indexdes.xml.
>
> If you bypass step 1, it means that index definition XML file is not
> necessary anymore, and so must be removed/deprecated.
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>   


-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : mathieu.saby at univ-rennes2.fr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20130924/7a1ceb13/attachment.html>


More information about the Koha-devel mailing list