@FunctionalInterface public interface UnparsedTextURIResolver
java.io.Reader resolve(java.net.URI absoluteURI, java.lang.String encoding, Configuration config) throws XPathException
The resolver is called by the functions
Note that a user-written resolver is responsible for enforcing some of the rules in the XSLT specification, such as the rules for inferring an encoding when none is supplied. Saxon will not report any error if the resolver does this in a non-conformant way.
absoluteURI- the absolute URI obtained by resolving the supplied URI against the base URI
encoding- the encoding requested in the call of unparsed-text(), if any. Otherwise null.
config- The Saxon configuration. Provided in case the URI resolver needs it.
XPathException- if any failure occurs
Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.