try {
registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new XPath10ExpressionCompilerBPEL20Draft());
} catch (Exception e) {
__log
.warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20Draft());
} catch (NoClassDefFoundError e) {
__log
.warn("Error loading Jaxen based XPath 1.0 Expression Language, falling back to Jaxp based implementation.");
registerExpressionLanguage(OASIS_EXPLANG_XPATH_1_0, new JaxpXPath10ExpressionCompilerBPEL20Draft());
}
try {
registerExpressionLanguage(OASIS_EXPLANG_XPATH_2_0, new XPath20ExpressionCompilerBPEL20Draft());
} catch (Exception e) {
__log.error("Error loading XPath 2.0 Expression Language: it will not be available.");