docs: public static Document readXML(Reader reader) throws IOException, SAXException, ParserConfigurationException {
  		assert reader != null : AssertMessages.notNullParameter();
  		try {
  			final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
  			final DocumentBuilder builder = factory.newDocumentBuilder();
  			return builder.parse(new InputSource(reader));
  		} finally {
  			reader.close();
  		}
  	}