Using a CollectionFinder from config file

Øyvind Gjesdal <[email protected]>
Newsgroups gmane.text.xml.saxon.help
Message-ID <CAOB384ZOFFc-ATQSUVmdQ6KQw5m4CE9LW+NiCATf2jN1VQyT0w@mail.gmail.com>
Hello,

I'm successfully running transformations using a CollectionFinder, using
ant and command line with the flag
--collection-finder-class:no.uib.saxon.ef.XlsxCollectionFinder .

When I try to run the same transformation from Oxygen XML with a config
file containing

<configuration xmlns="http://saxon.sf.net/ns/configuration"
    edition="EE">
    <global collectionFinder="no.uib.saxon.ef.XlsxCollectionFinder"

    />
</configuration>

I get "Content not allowed in prolog" and no error message from the
configuration.
I know the config file is used (and the class in the classpath), because I
get a warning (that the class Doesn't implement collectionUriResolver) if I
add/use the same class in the collectionUriResolver attribute in the global
element.

The Saxon version is SaxonEE 9.8.0.12 (Oxygen 21.1).

Best regards,
Øyvind Gjesdal

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.