[Net-z3950] SimpleServer srw diagnostics

Phil Cross phil.cross at bristol.ac.uk
Tue Sep 11 15:53:47 CEST 2007

Thanks, that's a useful bit of data to have. Obviously no clear cut 
equivalent but a number of options to use for conversion to the right 
SRW code. I'll probably go for 24: element set names not supported.

(There are always endless fascinating depths to be explored in the Z3950 
standard ;)

Thanks again,

Mike Taylor wrote:
> Phil Cross writes:
>  > I take it there is some mapping going on between the two sets
>  > somewhere, e.g. my error code 12, for 'Too many results in set', is
>  > getting converted to info:srw/diagnostic/1/60, 'Result set not
>  > created: too many matching records'.
> Also correct.  This is done inside the GFS when it knows it's talking
> to an SRU/W client.  The mapping is done using the function
> yaz_diag_bib1_to_srw(), which you can read in the YAZ source at
> 	http://www.indexdata.dk/yaz/dox/html/srwutil_8c-source.html
> As you can see, it uses a big static mapping called srw_bib1_map[],
> which you are welcome to consult.  So far as I know, no mapping
> between BIB-1 and SRU diagnostics has been published apart from this
> code.
>  _/|_	 ___________________________________________________________________
> /o ) \/  Mike Taylor    <mike at indexdata.com>    http://www.miketaylor.org.uk
> )_v__/\  "Nobody really knows what the Bourne shell's grammar is" --
> 	 Tom Duff, "Rc: A Shell for Plan 9"

Phil Cross
Senior Technical Researcher
Institute for Learning and Research Technology
University of Bristol
8 - 10 Berkeley Square
Bristol, BS8 1HH
Tel: +44 (0)117 928 7067
Fax: +44 (0)117 928 7112
E-mail: phil.cross at bristol.ac.uk
URL: http://www.ilrt.bris.ac.uk/aboutus/staff?search=cmpac

More information about the Net-z3950 mailing list