code: public void parse(String xmlInput, boolean strict) throws ParseException {
  		if (xmlInput == null) {
  			throw new IllegalArgumentException("input can not be null");
  		}
  		ArrayList splitContents = split(xmlInput, interpreteAsXHTML, true);
  		build(splitContents, interpreteAsXHTML);
  	}
docs: parses input, adds contents