I get similar: an (X)HTML file which tstarts
<head><title>Search</title><link rel="stylesheet" href="
http://localhost:8080/static/chempound.css"/><script src="/plugins/jquery/jquery-1.4.2.js" type="text/javascript"/><script src="/plugins/jquery/jquery-ui-1.8.14.min.js" type="text/javascript"/><link href="/plugins/jquery/smoothness/jquery-ui-1.8.14.css" rel="stylesheet" type="text/css"/></head><body><header><div class="content"><h1>chempound data repository</h1></div></header><nav><div class="content"><ul><li><a href="
http://localhost:8080/" class="first">Home</a></li><li><a href="
http://localhost:8080/content/">Browse</a></li><li><a href="
http://localhost:8080/search/">Search</a></li><li><a href="
http://localhost:8080/sparql/">SPARQL</a></li><li><a href="
http://localhost:8080/feeds/">Feeds</a></li></ul><div class="clear"/></div></nav>
This seems to echo the page on which the Search button occurs. Because it displays as XML it presumably doesn't have a MIME-TYPE or has an XML one.
I am working gently through the ingestion process and annotating the packages and classes. I want to refactor the following:
* superclass of Deposit/GAU/NWChem
* any other duplicated code between these two
* hardcoded string constants.
Some of the refactoring could use (say) a getConverter() which is implemented in each subclass, making the customisation quite short.
P.