To configure the XML Catalog options, open the
Preferences dialog box and go to .
The following options are available:
- Prefer - the prefer setting determines
whether public identifiers specified in the catalog are used in favor of system
identifiers supplied in the document. Suppose you have an entity in your document for
which both a public identifier and a system identifier has been specified, and the catalog
only contains a mapping for the public identifier (for example, a matching public catalog
entry). If public is selected, the URI supplied in the matching
public catalog entry is used. If system is selected, the system
identifier in the document is used.
Note: If the catalog contained a matching system
catalog entry giving a mapping for the system identifier, that mapping would have been
used, the public identifier would never have been considered, and the setting of
override would have been irrelevant.
Generally, the purpose of catalogs is to
override the system identifiers in XML documents, so Prefer should
usually be public in your catalogs.
-
When using catalogs it is sometimes useful to see what catalog files are parsed, if
they are valid or not, and what identifiers are resolved by the catalogs. The
Verbosity option selects the detail level of such logging
messages of the XML catalog resolver that will be displayed in the
Catalogs view at the bottom of the window:
- None - No message is displayed by the catalog resolver when
it tries to resolve a URI reference, a SYSTEM one or a PUBLIC one with the XML
catalogs specified in this panel.
- Unresolved entities - Only the logging messages that track
the failed attempts to resolve references are displayed.
- All messages - The messages of both failed attempts and
successful ones are displayed.
-
If
Resolve schema locations also through system mappings is
enabled,
Oxygen XML Editor analyzes both
uri and
system mappings in
order to resolve the location of schema.
Note: This option is not applicable for DTD
schemas since the public and system catalog mappings are always considered.
-
If Process namespaces through URI mappings for XML Schema is
selected then the target namespace of the imported XML Schemas is resolved through the
uri mappings. The namespace is taken into account only when the schema
specified in the schemaLocation attribute was not resolved successfully.
-
If the Use default catalog option is checked the first XML
catalog which Oxygen XML Editor will use to resolve references at document
validation and transformation will be a default built-in catalog. This catalog maps such
references to the built-in local copies of the schemas of the Oxygen XML Editor
frameworks (DocBook, DITA, TEI, XHTML, SVG, etc.)
You can also add or configure catalogs at framework level from the
Catalogs tab in the Document
Type configuration dialog box.
When you add, delete or edit an XML catalog to / from the list, reopen the currently edited
files which use the modified catalog or run the Validate action so that the XML catalog
changes take full effect.