*/
public IBasicExpression createMergeExpression (String name, String namespace, Collection expressionsToMerge) throws BadQueryException {
IBasicExpression result = null;
if (name == null) {
result = new EmptyExpression(getRequestedResourcePool());
}
else {
if (NamespaceCache.DEFAULT_URI.equals(namespace)) {
if (name.equals (Literals.AND))
result = new AndExpression (new Element(name, NamespaceCache.getNamespace(namespace)),