I have received the following exception while parsing a large collection of text/html files:
"Exception com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html Supported ones are: [text/xml]"
My problem is that the set of files that have raised the exception are of the exact format of the ones that have been parsed successfully. Any ideas why I am receiving this exception?
p.s. The exception has been received after almost 4000 files have been successfully generated by Calais 3.