DITA Compare Configuration File Schema Guide

DITA Compare Configuration File Schema Guide

This section documents the elements in the XML schema for the DITA Compare REST configuration file.
For full element-by-element detail, see the DITA Comparison Configuration File Schema Guide in the live documentation.

Root element: configuration

The root element for the DITA Compare REST configuration. Contains parameters.

Element: parameters

Contains all comparison parameter groups:

Element

Description

comparisonType

Controls how text is compared (word-by-word vs character-by-character).

formattingConfiguration

Controls inline structural change element handling.

htmlConfiguration

Output markup styling.

mathmlConfiguration

MathML comparison granularity.

svgConfiguration

SVG comparison settings.

tableConfiguration

Table comparison behaviour.

Key elements

characterByCharacter

Type: xs:boolean. When true, comparison operates at character level.

mathmlGranularity

Attribute mode: adjacent, detailed-adjacent, or inline.

tableConfiguration

Contains columnKeyingMode (auto/position), validationLevel (relaxed/strict),
invalidTableBehaviour (fail/propagateUp/compareAsXml), normalizeTableColumns,
ignoreColumnOrder, and warningReportMode (pis/message/comments).

svgConfiguration

Contains svgEnabled, svgGranularity (adjacent/detailed-adjacent), svgZIndexEnabled,
zIndexMarkupStyle, svgFallbackEnabled, svgFallbackChangedPercentage,
svgNumericToleranceEnabled, and svgNumericToleranceValue.