23Throw URI exceptions?

Configuration on Java

  • Feature ResolverFeature.THROW_URI_EXCEPTIONS (type: Boolean)

  • System property xml.catalog.throwUriExceptions (or the environment variable XML_CATALOG_THROW_URI_EXCEPTIONS if the system property is not set)

  • Property file property throw-uri-exceptions

Configuration on .NET

  • This setting has no equivalent on .NET

If this setting is true, errors in URIs that raise illegal argument exceptions, malformed URI exceptions, or URI syntax exceptions will be thrown. If it’s false, null is returned and the exception is ignored.