@Override
  public Document document(Element rootElement, DocType docType,
                           String baseURI) {
    return new Document(rootElement, docType, baseURI);
  }
@Override
  public Document document(Element rootElement, DocType docType,
                           String baseURI)