public XMLParser(Reader reader, String systemId,
public XMLParser(InputStream in, String systemId,
  public XMLParser(Reader reader, String systemId,                   boolean validating,                   boolean namespaceAware,                   boolean coalescing,                   boolean replaceERefs,                   boolean externalEntities,                   boolean supportDTD,                   boolean baseAware,                   boolean stringInterning,                   XMLReporter reporter,                   XMLResolver resolver)  {    this.validating = validating;    this.namespaceAware = namespaceAware;    this.coalescing = coalescing;    this.replaceERefs = replaceERefs;    this.externalEntities = externalEntities;    this.supportDTD = supportDTD;    this.baseAware = baseAware;    this.stringInterning = stringInterning;    this.reporter = reporter;    this.resolver = resolver;    if (validating)      {        validationStack = new LinkedList();        ids = new HashSet();        idrefs = new HashSet();      }    pushInput(new Input(null, reader, null, systemId, null, null, false, true));  }