if (externalInfos != null) { DebugLog.log("validating externals: " + externalInfos.length); }
    private static String validatePropertyValue(String name, String value,            boolean force) throws SVNException {        DebugLog.log("validating: " + name + "=" + value);        if (value == null) {            return value;        }        if (!force && SVNProperty.EOL_STYLE.equals(name)) {            value = value.trim();        } else if (!force && SVNProperty.MIME_TYPE.equals(name)) {            value = value.trim();        } else if (SVNProperty.IGNORE.equals(name)                || SVNProperty.EXTERNALS.equals(name)) {            if (!value.endsWith("\n")) {                value += "\n";            }            if (SVNProperty.EXTERNALS.equals(name)) {                DebugLog.log("validating externals: " + value);                SVNExternalInfo[] externalInfos = SVNWCAccess.parseExternals(                        "", value);                if (externalInfos != null) {                    DebugLog.log("validating externals: "                            + externalInfos.length);                }                for (int i = 0; externalInfos != null                        && i < externalInfos.length; i++) {                    String path = externalInfos[i].getPath();                    DebugLog.log("checking path: " + path);                    if (path.indexOf(".") >= 0 || path.indexOf("..") >= 0                            || path.startsWith("/")) {                        DebugLog.log("throwing exception");                        SVNErrorManager                                .error("svn: Invalid external definition: "                                        + value);                    }                }            }        } else if (SVNProperty.KEYWORDS.equals(name)) {            value = value.trim();        } else if (SVNProperty.EXECUTABLE.equals(name)                || SVNProperty.SPECIAL.equals(name)                || SVNProperty.NEEDS_LOCK.equals(name)) {            value = "*";        }        return value;    }