Revision 5491
Added by berkley over 14 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
368 | 368 |
if (qformat != null && qformat.equals(MetacatUtil.XMLFORMAT)) |
369 | 369 |
{ |
370 | 370 |
//xml format |
371 |
response.setContentType("text/xml"); |
|
371 |
if(response != null) |
|
372 |
{ |
|
373 |
response.setContentType("text/xml"); |
|
374 |
} |
|
372 | 375 |
createResultDocument(xmlquery, qspec, out, user, groups, useXMLIndex, |
373 | 376 |
pagesize, pagestart, sessionid, qformat); |
374 | 377 |
}//if |
Also available in: Unified diff
re-added some code inadvertently removed