Re: Using a CollectionFinder from config file

Michael Kay <mike-JkSD5nQpfvpWk0Htik3J/[email protected]>
Newsgroups gmane.text.xml.saxon.help
Message-ID <[email protected]>
I think this is probably one for Oxygen support.

Michael Kay
Saxonica

> On 3 Aug 2020, at 10:49, Øyvind Gjesdal <[email protected]> wrote:
> 
> 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 <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

_______________________________________________
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.