compiler.setJobCache(new AppEngineJobCache());
compiler.setMessageContext(mc);
URI uri = guessURI(base, url);
InputSource is = new InputSource(uri);
CharProducer cp = CharProducer.Factory.fromString(input, is);
boolean okToContinue = true;
Dom inputNode = null;
try {
DomParser p = new DomParser(new HtmlLexer(cp), false, is, mq);
inputNode = Dom.transplant(p.parseDocument());