9. Catalog loader class

Configuration on Java
-
Feature
ResolverFeature.CATALOG_LOADER_CLASS(type:String) -
System property
xml.catalog.catalogLoaderClass -
Property file property
catalog-loader-class

Configuration on .NET
-
Feature
ResolverFeature.CATALOG_LOADER_CLASS(type:string) -
Environment variable
XML_CATALOG_LOADER_CLASS -
Property file property
catalogLoaderClass
Specify the catalog loader class. The default catalog loader ignores any errors encountered when loading catalogs. This is convenient for production use, but can be frustrating because it may not be obvious when resolution fails, especially if your internet connection is fast. A typo in a catalog file can easily go unnoticed.
If the value org.xmlresolver.loaders.ValidatingXmlLoader is specified
for this property, catalog files will be validated when they are
loaded and the resolver will throw an exception for any validity
errors encountered.
The validating loader depends on having version 20181222 of Jing on your classpath. (This is an optional dependency in the Maven distribution of the resolver, so you may have to add it by hand.)