<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
It is <a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8252">http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8252</a><br>
<br>
Read all the comments, I think you will understand the problem.<br>
To make it short : <br>
<pre wrap="">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)

</pre>
Mathieu<br>
<br>
Frédéric Demians a écrit :
<blockquote cite="mid:52414D05.60901@tamil.fr" type="cite">
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated" href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a>
<a class="moz-txt-link-freetext" href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a>
website : <a class="moz-txt-link-freetext" href="http://www.koha-community.org/">http://www.koha-community.org/</a>
git : <a class="moz-txt-link-freetext" href="http://git.koha-community.org/">http://git.koha-community.org/</a>
bugs : <a class="moz-txt-link-freetext" href="http://bugs.koha-community.org/">http://bugs.koha-community.org/</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : <a class="moz-txt-link-abbreviated" href="mailto:mathieu.saby@univ-rennes2.fr">mathieu.saby@univ-rennes2.fr</a>
</pre>
</body>
</html>