@Override
          public Function resolve(QName name, int argCount) {
            final Function f = base.resolve(name, argCount);
            if (f == null) {
              return resolveCustomFunction(xmlFile, name, argCount);
            }
            return f;
          }
@Override
          public Function resolve(QName name, int argCount)