UntypedValue port = new UntypedValue(evaluateXPathString("port", root));
if (port.stringValue("").equals(""))
port = UntypedValue.NULL_VALUE;
checkInt(port, "port number", 1, 0xffff);
if (!port.equals(UntypedValue.NULL_VALUE))
cfg.setPort(port.intValue(ServerConfig.HTTP_PORT_DEFAULT));
String request_log = evaluateXPathString("requestLog/@path", root);
if (!request_log.isEmpty())
cfg.setRequestLogPath(request_log);