From: Adam Dickmeiss Date: Wed, 7 Jan 2004 22:28:08 +0000 (+0000) Subject: Return diagnostic if recordXPath is met X-Git-Tag: YAZPP.0.7.4.larry X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=2d032227d603ed28d5c57ae5a3a2992328010272;p=yazpp-moved-to-github.git Return diagnostic if recordXPath is met --- diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index bd8dee5..8f46b2b 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy.cpp,v 1.83 2004-01-07 22:19:05 adam Exp $ + * $Id: yaz-proxy.cpp,v 1.84 2004-01-07 22:28:08 adam Exp $ */ #include @@ -1573,6 +1573,13 @@ void Yaz_Proxy::handle_incoming_HTTP(Z_HTTP_Request *hreq) { Z_SRW_searchRetrieveRequest *srw_req = srw_pdu->u.request; + // recordXPath unsupported. + if (srw_req->recordXPath) + { + send_to_srw_client_error(72); + return; + } + // save stylesheet if (srw_req->stylesheet) m_s2z_stylesheet =