Skip to content
Permalink
Browse files

Add debug log message for finding extension functions

  • Loading branch information...
ndw committed Mar 12, 2019
1 parent 12485ca commit b221236f3bd26634e3d2477a63905f863e34e7cb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/com/xmlcalabash/core/XProcConfiguration.java
@@ -308,11 +308,12 @@ private void findStepClasses() {
}

private void findExtensionFunctions() {
logger.debug("XML Calabash searching for Saxon extension functions on the class path");
Iterable<Class<?>> classes = ClassIndex.getAnnotated(SaxonExtensionFunction.class);
for (Class<?> klass : classes) {
String name = klass.getCanonicalName();
SaxonExtensionFunction annotation = klass.getAnnotation(SaxonExtensionFunction.class);
logger.trace("Found Saxon extension function: " + klass.getCanonicalName());
logger.debug("Found Saxon extension function: " + klass.getCanonicalName());
if (extensionFunctions.containsKey(name)) {
logger.debug("Duplicate saxon extension function class: " + name);
}

0 comments on commit b221236

Please sign in to comment.
You can’t perform that action at this time.