---- Reported by firstname.lastname@example.org 2009-06-14 04:50:39 ----
This combination of parameters is not possible in rebuild_zebra.pl:
rebuild_zebra -a -x
Why? Koha API has a GetAuthorityXML function that could be used.
---- Additional Comments From email@example.com 2009-06-14 23:33:09 ----
It's due to a difference in how the Zebra GRS-1 and DOM filters process MARCXML files. The GRS-1 filter doesn't require that a MARCXML input file be a well-formed XML document, so rebuild_zebra -b -x can simply append one <marc:record> blob after another to the export file. The DOM filter (used for MARC21 authorities) *does* require that its input be a valid XML document, which would require tweaking the export so that the resulting XML file was valid (and the marc:record elements contained in a marc:collection).
XML::SAX::Writer and possibly a small tweak to the indexing XSL would do it. On the other hand, it would also be necessary to verify that the GRS-1 filter (for bibs) *does* load a well-formed bib MARCXML file.
Probably not a huge deal to change, but it does require a bit of work and a lot of testing.
--- Bug imported by firstname.lastname@example.org 2010-05-21 01:09 UTC ---
This bug was previously known as _bug_ 3327 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3327
Actual time not defined. Setting to 0.0
CC member email@example.com does not have an account here
Fixed according to Jared on IRC.