code: @Override
  	public Document parseXML(String string) {
  		try {
  			return loadXML(new ByteArrayInputStream(string.getBytes("UTF-8")));
  		} catch (UnsupportedEncodingException e) {
  			throw new BugError("JVM with missing support for UTF-8.");
  		}
  	}
docs: parse XML document from string source