/* This file is part of Metaproxy.
- Copyright (C) 2005-2011 Index Data
+ Copyright (C) 2005-2012 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
}
// read configuration
- if ( 0 != yaz_retrieval_configure(m_retrieval, retrieval_node)){
+ if (0 != yaz_retrieval_configure(m_retrieval, retrieval_node))
+ {
std::string msg("RecordTransform filter config: ");
msg += yaz_retrieval_get_error(m_retrieval);
throw mp::XMLError(msg);
const char *input_schema = 0;
Odr_oid *input_syntax = 0;
- if(pr_req->recordComposition){
+ if (pr_req->recordComposition)
+ {
input_schema
= mp_util::record_composition_to_esn(pr_req->recordComposition);
}
- if(pr_req->preferredRecordSyntax){
+ if (pr_req->preferredRecordSyntax)
+ {
input_syntax = pr_req->preferredRecordSyntax;
}