/* This file is part of Metaproxy.
- Copyright (C) 2005-2012 Index Data
+ Copyright (C) Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
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);