Chapter 6What you can configure

This chapter lists all of the configurable settings in the XML Resolver.

The following features and properties can be used to configure the resolver in Java:

Table 6.1Indexed by resolver feature
ResolverFeature.ACCESS_EXTERNAL_DOCUMENT Specify protocol(s) allowed for URI access
ResolverFeature.ACCESS_EXTERNAL_ENTITY Specify protocol(s) allowed for entity access
ResolverFeature.ALLOW_CATALOG_PI Obey oasis-xml-catalog processing instruction
ResolverFeature.ALWAYS_RESOLVE Always resolve resources
ResolverFeature.ARCHIVED_CATALOGS Support catalog files in ZIP archives (Since 3.1.0)
ResolverFeature.CATALOG_ADDITIONS A list of additional catalog files
ResolverFeature.CATALOG_FILES The initial list of catalog files
ResolverFeature.CATALOG_LOADER_CLASS Catalog loader class
ResolverFeature.CATALOG_MANAGER Access the underlying catalog manager
ResolverFeature.CLASSLOADER Specify an alternate class loader
ResolverFeature.CLASSPATH_CATALOGS Load catalogs from the classpath
ResolverFeature.FIX_WINDOWS_SYSTEM_IDENTIFIERS Fix system identifiers on Windows. (Since 4.4.0)
ResolverFeature.LOGGER_LOG_LEVEL The logging level (Since 6.0.20)
ResolverFeature.MASK_JAR_URIS Mask jar URIs
ResolverFeature.MERGE_HTTPS Merge http: and https: URI schemes
ResolverFeature.PARSE_RDDL Parse RDDL documents
ResolverFeature.PREFER_PROPERTY_FILE Prefer property file values
ResolverFeature.PREFER_PUBLIC Preference for public or system identifiers
ResolverFeature.RESOLVER_LOGGER_CLASS The logger class
ResolverFeature.SAXPARSERFACTORY_CLASS The SAX parser factory class
ResolverFeature.THROW_URI_EXCEPTIONS Throw URI exceptions?
ResolverFeature.URI_FOR_SYSTEM Use URI entries for system resolution
ResolverFeature.XMLREADER_SUPPLIER Configure the XML Reader
Table 6.2Indexed by system property
xml.catalog.accessExternalDocument Specify protocol(s) allowed for URI access
xml.catalog.accessExternalEntity Specify protocol(s) allowed for entity access
xml.catalog.additions A list of additional catalog files
xml.catalog.allowPI Obey oasis-xml-catalog processing instruction
xml.catalog.alwaysResolve Always resolve resources
xml.catalog.archivedCatalogs Support catalog files in ZIP archives (Since 3.1.0)
xml.catalog.catalogLoaderClass Catalog loader class
xml.catalog.classpathCatalogs Load catalogs from the classpath
xml.catalog.files The initial list of catalog files
xml.catalog.fixWindowsSystemIdentifiers Fix system identifiers on Windows. (Since 4.4.0)
xml.catalog.loggerLogLevel The logging level (Since 6.0.20)
xml.catalog.maskJarUris Mask jar URIs
xml.catalog.mergeHttps Merge http: and https: URI schemes
xml.catalog.parseRddl Parse RDDL documents
xml.catalog.prefer Preference for public or system identifiers
xml.catalog.preferPropertyFile Prefer property file values
xml.catalog.resolverLoggerClass The logger class
xml.catalog.saxParserFactoryClass The SAX parser factory class
xml.catalog.throwUriExceptions Throw URI exceptions?
xml.catalog.uriForSystem Use URI entries for system resolution
Table 6.3Indexed by file property
access-external-document Specify protocol(s) allowed for URI access
access-external-entity Specify protocol(s) allowed for entity access
allow-oasis-xml-catalog-pi Obey oasis-xml-catalog processing instruction
always-resolve Always resolve resources
archived-catalogs Support catalog files in ZIP archives (Since 3.1.0)
catalog-additions A list of additional catalog files
catalog-loader-class Catalog loader class
catalogs The initial list of catalog files
classpath-catalogs Load catalogs from the classpath
fix-windows-system-identifiers Fix system identifiers on Windows. (Since 4.4.0)
logger-log-level The logging level (Since 6.0.20)
mask-jar-uris Mask jar URIs
merge-https Merge http: and https: URI schemes
parse-rddl Parse RDDL documents
prefer Preference for public or system identifiers
prefer-property-file Prefer property file values
relative-catalogs Support relative catalog paths
resolver-logger-class The logger class
saxparserfactory-class The SAX parser factory class
throw-uri-exceptions Throw URI exceptions?
uri-for-system Use URI entries for system resolution

The following features, properties, and environment variables can be used to configure the resolver in .NET:

Table 6.4Indexed by resolver feature
ResolverFeature.ACCESS_EXTERNAL_DOCUMENT Specify protocol(s) allowed for URI access
ResolverFeature.ACCESS_EXTERNAL_ENTITY Specify protocol(s) allowed for entity access
ResolverFeature.ALLOW_CATALOG_PI Obey oasis-xml-catalog processing instruction
ResolverFeature.ARCHIVED_CATALOGS Support catalog files in ZIP archives (Since 3.1.0)
ResolverFeature.ASSEMBLY_CATALOGS Catalogs to load from assemblies
ResolverFeature.CATALOG_ADDITIONS A list of additional catalog files
ResolverFeature.CATALOG_FILES The initial list of catalog files
ResolverFeature.CATALOG_LOADER_CLASS Catalog loader class
ResolverFeature.CATALOG_MANAGER Access the underlying catalog manager
ResolverFeature.FIX_WINDOWS_SYSTEM_IDENTIFIERS Fix system identifiers on Windows. (Since 4.4.0)
ResolverFeature.MERGE_HTTPS Merge http: and https: URI schemes
ResolverFeature.PARSE_RDDL Parse RDDL documents
ResolverFeature.PREFER_PROPERTY_FILE Prefer property file values
ResolverFeature.PREFER_PUBLIC Preference for public or system identifiers
ResolverFeature.URI_FOR_SYSTEM Use URI entries for system resolution
ResolverFeature.USE_DATA_ASSEMBLY Load the XmlResolverData assembly catalog?
Table 6.5Indexed by file property
accessExternalDocument Specify protocol(s) allowed for URI access
accessExternalEntity Specify protocol(s) allowed for entity access
allowOasisXmlCatalogPi Obey oasis-xml-catalog processing instruction
archivedCatalogs Support catalog files in ZIP archives (Since 3.1.0)
catalogAdditions A list of additional catalog files
catalogLoaderClass Catalog loader class
catalogs The initial list of catalog files
fixWindowsSystemIdentifiers Fix system identifiers on Windows. (Since 4.4.0)
mergeHttps Merge http: and https: URI schemes
parseRddl Parse RDDL documents
prefer Preference for public or system identifiers
preferPropertyFile Prefer property file values
relativeCatalogs Support relative catalog paths
uriForSystem Use URI entries for system resolution
useDataAssembly Load the XmlResolverData assembly catalog?
Table 6.6Indexed by environment variable
XML_CATALOG_ACCESS_EXTERNAL_DOCUMENT Specify protocol(s) allowed for URI access
XML_CATALOG_ACCESS_EXTERNAL_ENTITY Specify protocol(s) allowed for entity access
XML_CATALOG_ADDITIONS A list of additional catalog files
XML_CATALOG_ALLOW_PI Obey oasis-xml-catalog processing instruction
XML_CATALOG_ARCHIVED_CATALOGS Support catalog files in ZIP archives (Since 3.1.0)
XML_CATALOG_FILES The initial list of catalog files
XML_CATALOG_FIX_WINDOWS_SYSTEM_IDENTIFIERS Fix system identifiers on Windows. (Since 4.4.0)
XML_CATALOG_LOADER_CLASS Catalog loader class
XML_CATALOG_MERGE_HTTPS Merge http: and https: URI schemes
XML_CATALOG_PARSE_RDDL Parse RDDL documents
XML_CATALOG_PREFER Preference for public or system identifiers
XML_CATALOG_PREFER_PROPERTY_FILE Prefer property file values
XML_CATALOG_URI_FOR_SYSTEM Use URI entries for system resolution
XML_CATALOG_USE_DATA_ASSEMBLY Load the XmlResolverData assembly catalog?