Permalink
Browse files

Add method for compatibility with Saxon 9.8 API

  • Loading branch information...
ndw committed Jan 25, 2018
1 parent eefce2f commit 501aaf871bdbd3b3855bc7d559bfbbd178c368be
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/main/java/com/xmlcalabash/util/XProcCollectionFinder.java
@@ -6,6 +6,7 @@
import net.sf.saxon.lib.Resource;
import net.sf.saxon.lib.ResourceCollection;
import net.sf.saxon.om.Item;
import net.sf.saxon.om.SpaceStrippingRule;
import net.sf.saxon.s9api.XdmNode;
import net.sf.saxon.trans.XPathException;
import org.slf4j.Logger;
@@ -105,6 +106,11 @@ public String getCollectionURI() {
public boolean isStable(XPathContext context) {
return true;
}
@Override
public boolean stripWhitespace(SpaceStrippingRule rules) {
return false;
}
}
private class DocumentResource implements Resource {

0 comments on commit 501aaf8

Please sign in to comment.