ContentHandler handler = new TeeContentHandler(
getHtmlHandler(htmlBuffer),
getTextContentHandler(textBuffer),
getXmlContentHandler(xmlBuffer));
input = new ProgressMonitorInputStream(
this, "Parsing stream", input);
parser.parse(input, handler, md, context);
String[] names = md.names();
Arrays.sort(names);