projects
/
metaproxy-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:
5cb1f96
)
query_rewrite: pass-thru non Type-1 queries MP-527
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Mar 2014 08:46:43 +0000
(09:46 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Mar 2014 08:46:43 +0000
(09:46 +0100)
src/filter_query_rewrite.cpp
patch
|
blob
|
history
diff --git
a/src/filter_query_rewrite.cpp
b/src/filter_query_rewrite.cpp
index
9fe00bf
..
4828781
100644
(file)
--- a/
src/filter_query_rewrite.cpp
+++ b/
src/filter_query_rewrite.cpp
@@
-101,12
+101,7
@@
void yf::QueryRewrite::Rep::process(mp::Package &package) const
xmlDocPtr doc_input = 0;
yaz_query2xml(req->query, &doc_input);
- if (!doc_input)
- {
- error_code = YAZ_BIB1_MALFORMED_QUERY;
- addinfo = "converion from Query to XML failed";
- }
- else
+ if (doc_input)
{
xmlDocPtr doc_res = xsltApplyStylesheet(m_stylesheet,
doc_input, 0);