src/main/java/eu/digitisation/input/FileType.java
private static boolean sameLocation(String locations1, String locations2) {
    	if (ignoreSchemaLocation) {
    		return true;
    	} else {
	        String[] urls = locations2.split("\\p{Space}+");
	        
	        for (String url : urls) {
	            if (locations1.contains(url)) {
	                return true;
	            }
	        }
	        return false;
    	}
    }
/**
     *
     * @param locations1 string of URL schema locations separated by spaces
     * @param locations2 string of URL schema locations separated by spaces
     * @return True if at least one URL is in both locations or when ignoreSchemaLocation is True
     */
@param locations1 string of URL schema locations separated by spaces
@param locations2 string of URL schema locations separated by spaces
@return True if at least one URL is in both locations or when ignoreSchemaLocation is True
@param locations1 string of URL schema locations separated by spaces @param locations2 string of URL schema locations separated by spaces @return True if at least one URL is in both locations or when ignoreSchemaLocation is True
private static boolean sameLocation(String locations1, String locations2) {
    	if (ignoreSchemaLocation) {
    		return true;
    	} else {
	        String[] urls = locations2.split("\\p{Space}+");
	        for (String url : urls) {
	            if (locations1.contains(url)) {
	                return true;
	            }
	        }
	        return false;
    	}
    }
private static boolean sameLocation ( String locations1 , String locations2 ) { if ( ignoreSchemaLocation ) { return true ; } else { String [ ] urls = locations2 . split ( "\\p{Space}+" ) ; for ( String url : urls ) { if ( locations1 . contains ( url ) ) { return true ; } } return false ; } }
@param locations1 string of URL schema locations separated by spaces
 @param locations2 string of URL schema locations separated by spaces
 @return True if at least one URL is in both locations or when ignoreSchemaLocation is True
@param locations1 string of URL schema locations separated by spaces @param locations2 string of URL schema locations separated by spaces @return True if at least one URL is in both locations or when ignoreSchemaLocation is True