18Prefer property file values

Configuration on Java

  • Feature ResolverFeature.PREFER_PROPERTY_FILE (type: Boolean)

  • System property xml.catalog.preferPropertyFile

  • Property file property prefer-property-file

Configuration on .NET

  • Feature ResolverFeature.PREFER_PROPERTY_FILE (type: bool)

  • Environment variable XML_CATALOG_PREFER_PROPERTY_FILE

  • Property file property preferPropertyFile

Prefer properties from the properties file. If a property file is loaded to configure the resolver and one of the properties in that file is also specified as a system property, the system property takes precedence. If you’d prefer to have the property file take precedence (as was the case in some earlier versions), set the “prefer property file” property to true.