3Obey oasis-xml-catalog processing instruction

Configuration on Java

  • Feature ResolverFeature.ALLOW_CATALOG_PI (type: Boolean)

  • System property xml.catalog.allowPI

  • Property file property allow-oasis-xml-catalog-pi

Configuration on .NET

  • Feature ResolverFeature.ALLOW_CATALOG_PI (type: bool)

  • Environment variable XML_CATALOG_ALLOW_PI

  • Property file property allowOasisXmlCatalogPi

This setting allows you to toggle whether or not the resolver classes obey the <?oasis-xml-catalog?> processing instruction.

If you never use the processing instruction, you can get a very tiny performance improvement by disabling this feature. (If this feature is enabled, the parser has to create a copy of the resolver configuration for every parse.)