2. Saxon configuration

The Saxon “professional edition” and “enterprise edition” processors can load an external configuration file to control various aspects of the Saxon processor. There are three ways to specify the location of this file:

Command line (long): --saxon-configuration=filename
Java system property: com.xmlcalabash.saxon-configuration=filename
XML configuration: <cc:saxon-configuration>filename</cc:saxon-configuration>
Ant task: <calabash saxonConfigFile="filename"/> or <calabash><saxonConfig>saxon config resource</saxonConfig></calabash>

The settings in this file take precedence over other, related settings available in Calabash (for example, schema awareness or processor type). This option will cause XML Calabash to throw an error if you are using “home edition”.