try {
DefaultNamespaceContext defaultNamespaceContext = new DefaultNamespaceContext(getXPathFactory());
populateDefaultNamespaces(defaultNamespaceContext);
namespaceContext = defaultNamespaceContext;
} catch (XPathFactoryConfigurationException e) {
throw new RuntimeExpressionException(e);
}
}
return namespaceContext;
}