SRW/Z39.50 diagnostic mapping: make bad ESN to bad schema