projects
/
yazpp-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aa7a95a
)
Return diagnostic if recordXPath is met
YAZPP.0.7.4.larry
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Jan 2004 22:28:08 +0000
(22:28 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 7 Jan 2004 22:28:08 +0000
(22:28 +0000)
src/yaz-proxy.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy.cpp
b/src/yaz-proxy.cpp
index
bd8dee5
..
8f46b2b
100644
(file)
--- 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.
*
* 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 <assert.h>
*/
#include <assert.h>
@@
-1573,6
+1573,13
@@
void Yaz_Proxy::handle_incoming_HTTP(Z_HTTP_Request *hreq)
{
Z_SRW_searchRetrieveRequest *srw_req = srw_pdu->u.request;
{
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 =
// save stylesheet
if (srw_req->stylesheet)
m_s2z_stylesheet =