Project

General

Profile

« Previous | Next » 

Revision 60111

oai export for OpenAIRE

View differences:

XsltFunctions.java
7 7
import java.util.regex.Pattern;
8 8
import java.util.stream.Collectors;
9 9

  
10
import org.apache.commons.codec.digest.DigestUtils;
10 11
import org.apache.commons.lang3.StringUtils;
11 12
import org.apache.commons.logging.Log;
12 13
import org.apache.commons.logging.LogFactory;
......
91 92
		}
92 93
	}
93 94

  
95
	public static String md5(final String s) {
96
		return DigestUtils.md5Hex(s);
97
	}
98

  
94 99
	// <xsl:for-each select="tokenize(istiFunction:cleanName(.), ';')">
95 100
	// <xsl:choose>
96 101
	// <xsl:when test="matches(normalize-space(.), ',(\s*[a-zA-Z]\.)+$')">

Also available in: Unified diff