16Merge http: and https: URI schemes

Configuration on Java

  • Feature ResolverFeature.MERGE_HTTPS (type: Boolean)

  • System property xml.catalog.mergeHttps

  • Property file property merge-https

Configuration on .NET

  • Feature ResolverFeature.MERGE_HTTPS (type: bool)

  • Environment variable XML_CATALOG_MERGE_HTTPS

  • Property file property mergeHttps

Treat http: and https: URIs as equivalent for the purpose of resolution. The web used to be served over http: and many existing catalog files contain http: system identifiers. Today, the web is largely served over https: and many documents contain https: system identifiers. If this property is true, that distinction will be ignored during catalog lookup, http://example.com/sample.dtd will match https://example.com/sample.dtd.

Note: this has *no effect* on the URIs returned by the resolver or retrieved over the web. It only effects catalog lookup for system identifiers and URIs.