// Check for all RiotReader
public static void parse(HttpAction action, StreamRDF dest, InputStream input, Lang lang, String base) {
// Need to adjust the error handler.
// try { RDFDataMgr.parse(dest, input, base, lang) ; }
// catch (RiotException ex) { errorBadRequest("Parse error: "+ex.getMessage()) ; }
LangRIOT parser = RiotReader.createParser(input, lang, base, dest) ;
parser.getProfile().setHandler(errorHandler) ;
try { parser.parse() ; }
catch (RiotException ex) { errorBadRequest("Parse error: "+ex.getMessage()) ; }
}