code: public static Document parse(Reader reader) throws SAXException, IOException, ParserConfigurationException {
          return parse(reader, false, true);
      }
docs: Creates a DocumentBuilder and uses it to parse the XML text read from the given reader.
  A non-validating, namespace aware parser which does not allow DOCTYPE declarations is used.
  
  @param reader the reader to read the XML text from
  @return the root node of the parsed tree of Nodes
  @throws SAXException                 Any SAX exception, possibly wrapping another exception.
  @throws IOException                  An IO exception from the parser, possibly from a byte
  stream or character stream supplied by the application.
  @throws ParserConfigurationException if a DocumentBuilder cannot be created which satisfies
  the configuration requested.
  @see #parse(Reader, boolean, boolean)