Using Saxon CollectionFinder from Oxygen XML
Posted: Wed Aug 05, 2020 10:07 am
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 frorth adding for the transform options in om Oxygen XML with a config
file containing
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).
Suggestion:
I like the property in the xspec ant build , would something similar be useful for adding ad-hoc options in Oxygen on xml-transforms for scenarios and debugging?
Best regards,
Øyvind Gjesdal
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 frorth adding for the transform options in om Oxygen XML with a config
file containing
Code: Select all
<configuration xmlns="http://saxon.sf.net/ns/configuration";
edition="EE">
<global collectionFinder="no.uib.saxon.ef.XlsxCollectionFinder"
/>
</configuration>
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).
Suggestion:
I like the
Code: Select all
saxon.custom.options
Best regards,
Øyvind Gjesdal