17Parse RDDL documents

Configuration on Java

  • Feature ResolverFeature.PARSE_RDDL (type: Boolean)

  • System property xml.catalog.parseRddl

  • Property file property parse-rddl

Configuration on .NET

  • Feature ResolverFeature.PARSE_RDDL (type: bool)

  • Environment variable XML_CATALOG_PARSE_RDDL

  • Property file property parseRddl

Attempt to resolve RDDL resources in namespace URI lookup. If the namespace resolver is used, if a nature and purpose are specified, and if the resource returned is an HTML document, the resolver will attempt to find the RDDL resource description for the requested namespace and resolve that URI.

For example, the following API call will return the XML Schema for XML:

  |resolveNamespaceURI("http://www.w3.org/XML/1998/namespace",
  |                    "http://www.w3.org/2001/XMLSchema",
  |                    "http://www.rddl.org/purposes#schema-validation");

Attempting to resolve RDDL resources requires extra processing. If you know it will never succeed you can disable it by setting this property to false.