DCP Schema Guide
This guide provides a short description of each element and attribute defined in the XML schema for the Document Comparator Pipeline (DCP). A fuller description of DCP, along with an example and an explanation of the main concepts can be found in the DCP User Guide.
Element Index
advancedEntityReferenceUsage 86
CDATA 89
class 78
comments 91
contentModel 92
defaults 47
description 35
detectMoves 62
doctype 94
enableMathml 49
enableSVG 71
fallback 72
feature 27
file 79
filter 32
finalPoint 33
frameMakerTcsTableChangeMode 52
grouping 53
http 80
orphanedWordDetectionEnabled 68
outerPiAndCommentProcessingMode 87
outputType 83
overrides 48
parameter 81
property 26
resource 82
resultFormat 57
retain 85
Element Detail
Elements are listed in document-tree order, top-level elements first, then alphabetically:
Element: documentComparator 1
The root element for defining the overrides to a DocumentComparator whose defaults are as described in the API documentation.
A Document Comparator instance with default settings is created if no child elements are present.
Contained by
/
Contains
Attribute | Type | Description |
---|---|---|
id | anyNameType | A unique identifier for this pipeline configuration - listed as 'configuration id' in the command-line description. |
version | string | The DCP specification version this conforms to - fixed at '1.0' |
description | string | Short description of this DCP configuration. |
Element | Description | |
advancedConfig | Configuration options providing low-level control of the comparison, more general configuration options are in 'standardConfig' | |
extensionPoints | Declare the extension points and contained filters to be inserted within the DocumentComparator pipeline | |
fullDescription | Designed to provide meaningful description and basic help information to the user | |
pipelineParameters | Container for all pipeline parameters | |
standardConfig | Genaral configuration options for the DocumentComparator - see 'advancedConfig' for further options |
Element: advancedConfig 2
Configuration options providing low-level control of the comparison, more general configuration options are in 'standardConfig'
Contained by
Contains
Element | Description | |
---|---|---|
outputProperties | Set Serializer property settings for the built in Saxon Serializer | |
parserFeatures | Set features on the underlying SAX parser used in the pipeline | |
parserProperties | Set properties on the underlying SAX parser used in the pipeline | |
transformerConfigurationProperties | Set configuration option on the Saxon XSLT transformers used in the pipeline |
Element: extensionPoints 3
Declare the extension points and contained filters to be inserted within the DocumentComparator pipeline.
In EBNF the required sequence S of child elements is:
- S := 'inputPreFlatteningPoint'? IP 'outputExtensionPoints'?
- IP := 'inputExtensionPoints'? | ( 'inputAExtensionPoints'? 'inputBExtensionPoints'? )
Contained by
Contains
Element | Description | |
---|---|---|
inputAExtensionPoints | Extension points for modifying input A filter chains, after element flattening | |
inputBExtensionPoints | Extension points for modifying input B filter chains, after element flattening | |
inputExtensionPoints | Extension points for modifying A and B input filter chains, after element flattening | |
inputPreFlatteningPoint | Extension point for modifying A and B input filters, before element flattening | |
outputExtensionPoints | Extension points for modifying output filter chains, after element flattening |
Element: fullDescription 4
Designed to provide meaningful description and basic help information to the user.
It can contain PCDATA content. It should include a description of the Document Comparator configuration defined by the DCP. How this information is presented to users is a tool-dependent operation, for example a GUI-based tool may provide a pop-up window and show HTML formatted content.
Contained by
Contains
Element | Description | |
---|---|---|
[any] | Any element permitted [mixed content] |
Element: pipelineParameters 5
Container for all pipeline parameters.
Pipeline parameters have global scope and are referenced using the 'paremeterRef' attribute. Pipeline parameters have a default value that can be overridden through the API. The maximum number of child elements is not restricted.
Contained by
Contains
Element | Description | |
---|---|---|
booleanParameter | Declare a boolean parameter that may be referenced by 'parameterRef' attributes or as $variables from within XPath expressions | |
stringParameter | Declare a string parameter that may be referenced by 'parameterRef' attributes or as $variables from within XPath expressions |
Element: standardConfig 6
Genaral configuration options for the DocumentComparator - see 'advancedConfig' for further options.
Contained by
Contains
Element | Description | |
---|---|---|
calsTableConfiguration | Specifies configuration options for CALS table comparison | |
htmlTableConfiguration | Specifies configuration options for HTML table comparison | |
lexicalPreservation | Configures the way lexical information is preserved | |
mathmlConfiguration | Specifies configuration options for MathML processing | |
outputFormatConfiguration | Specifies configuration options related to the format of the comparison result from a DocumentComparator | |
resultReadabilityOptions | Sets options to change the granularity and ordering of changes in the result in order to improve readability | |
svgConfiguration | Specifies configuration options for SVG Comparison | |
tableConfiguration | Specifies configuration options for table comparison |
Element: outputProperties 7
Set Serializer property settings for the built in Saxon Serializer.
Contained by
Contains
Element | Description | |
---|---|---|
property | Sets the string value of a named property |
Element: parserFeatures 8
Set features on the underlying SAX parser used in the pipeline.
For more detail, see setParserFeature in the API documentation.
Contained by
Contains
Element | Description | |
---|---|---|
feature | Sets the boolean value of a named feature |
Element: parserProperties 9
Set properties on the underlying SAX parser used in the pipeline.
For more detail, see setParserProperty in the API documentation.
Contained by
Contains
Element | Description | |
---|---|---|
property | Sets the string value of a named property |
Element: transformerConfigurationProperties 10
Set configuration option on the Saxon XSLT transformers used in the pipeline.
The maximum number of child elements is not restricted.
Contained by
Contains
Element | Description | |
---|---|---|
booleanProperty | A named boolean property | |
stringProperty | A named string property |
Element: inputAExtensionPoints 11
Extension points for modifying input A filter chains, after element flattening.
Contained by
Contains
Element | Description | |
---|---|---|
postTablePoint | The filter extension point immediately after table processing | |
preTablePoint | The filter extension point immediately before table processing |
Element: inputBExtensionPoints 12
Extension points for modifying input B filter chains, after element flattening.
Contained by
Contains
Element | Description | |
---|---|---|
postTablePoint | The filter extension point immediately after table processing | |
preTablePoint | The filter extension point immediately before table processing |
Element: inputExtensionPoints 13
Extension points for modifying A and B input filter chains, after element flattening.
Contained by
Contains
Element | Description | |
---|---|---|
postTablePoint | The filter extension point immediately after table processing | |
preTablePoint | The filter extension point immediately before table processing |
Element: inputPreFlatteningPoint 14
Extension point for modifying A and B input filters, before element flattening.
Contained by
Contains
Element | Description | |
---|---|---|
filter | An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline |
Element: outputExtensionPoints 15
Extension points for modifying output filter chains, after element flattening.
Contained by
Contains
Element | Description | |
---|---|---|
finalPoint | The final filter extension point in the DocumentComparator output pipeline | |
postTablePoint | The filter extension point immediately after table processing | |
preAttributePoint | The filter extension point after table processing and just before attribute processing in the DocumentComparator output pipeline | |
preTablePoint | The filter extension point immediately before table processing |
Element: booleanParameter 16
Declare a boolean parameter that may be referenced by 'parameterRef' attributes or as $variables from within XPath expressions.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | NCName | The boolean parameter name |
defaultValue | boolean | The default boolean value - may be overriden externally |
Element | Description | |
description | Short summary of the purpose of the parameter |
Element: stringParameter 17
Declare a string parameter that may be referenced by 'parameterRef' attributes or as $variables from within XPath expressions.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | NCName | The string parameter name |
defaultValue | string | The default string value - may be overriden externally |
Element | Description | |
description | Short summary of the purpose of the parameter |
Element: calsTableConfiguration 18
Specifies configuration options for CALS table comparison.
These configuration options can be specified on a DocumentComparator to configure its behaviour when comparing tables.
Contained by
Contains
Element | Description | |
---|---|---|
calsColumnKeyingMode | Sets the column keying mode used to align table columns when the table processing is enabled | |
calsValidationLevel | Sets the ValidationLevel to use for CALS table validation | |
ignoreColumnOrder | Sets whether the DocumentComparator should ignore table column order | |
invalidCalsTableBehaviour | Sets the behaviour to use when inputs contain invalid CALS tables | |
processCalsTables | Sets whether the DocumentComparator should process CALS tables | |
warningReportMode | Specifies how table invalidity warnings should be reported |
Element: htmlTableConfiguration 19
Specifies configuration options for HTML table comparison.
These configuration options can be specified on a DocumentComparator to configure its behaviour when comparing tables.
Contained by
Contains
Element | Description | |
---|---|---|
htmlColumnKeyingMode | Sets the column keying mode used to align table columns when the table processing is enabled | |
htmlValidationLevel | Sets the ValidationLevel to use for HTML table validation | |
ignoreColumnOrder | Sets whether the DocumentComparator should ignore table column order | |
invalidHtmlTableBehaviour | Sets the behaviour to use when inputs contain invalid HTML tables | |
normalizeHtmlTables | Sets whether the Document Comparator should normalize the specification of columns in HTML tables | |
processHtmlTables | Sets whether the DocumentComparator should process HTML tables | |
warningReportMode | Specifies how table invalidity warnings should be reported |
Element: lexicalPreservation 20
Configures the way lexical information is preserved.
This is mostly for lexical artifacts that are not included in the standards for the XPath Data Model or XML Infoset. The exceptions are comment and processing-instruction nodes that are controlled here also.
Contained by
Contains
Element | Description | |
---|---|---|
defaults | This required element is the container for elements that set the defaults for all lexical preservation artifacts | |
overrides | Container for elements that override defaults for specific lexical preservation artifacts |
Element: mathmlConfiguration 21
Specifies configuration options for MathML processing.
These configuration options can be specified on a DocumentComparator to configure its behaviour when comparing MathML.
Contained by
Contains
Element | Description | |
---|---|---|
enableMathml | Sets whether the DocumentComparator should use MathML-specific processing | |
mathmlGranularity | Sets the granularity at which the differences between two MathML expressions will be represented |
Element: outputFormatConfiguration 22
Specifies configuration options related to the format of the comparison result from a DocumentComparator.
Contained by
Contains
Element | Description | |
---|---|---|
attributeChangeMarked | Sets the behaviour for marking elements with an attribute changed marker - for cases where attribute changes can not otherwise be represented | |
frameMakerTcsTableChangeMode | Specify how table changes are propagated for FrameMaker tracked changes representations, the default is down | |
grouping | Sets the behaviour for grouping adjacent changes | |
modifiedAttributeMode | Determines how modified attributes are represented in the output | |
modifiedFormatOutput | Sets the behaviour for outputting elements with modified formatting | |
orderlessPresentationMode | Specifies how the child elements of 'orderless' elements should be output | |
resultFormat | Specifies the format of results output from the DocumentComparator | |
trackChangesAuthor | Author name to use when generating tracked changes in the result document | |
trackChangesDate | The date-time to be used for tracked change representations, otherwise the current date-time is used | |
xmetalTcsTableChangeMode | Specify how table changes are propagated for XMetal tracked changes representations, the default is down |
Element: resultReadabilityOptions 23
Sets options to change the granularity and ordering of changes in the result in order to improve readability.
Contained by
Contains
Element | Description | |
---|---|---|
changeGatheringEnabled | Sets whether to change the order of consecutive changed items to improve readability | |
detectMoves | Sets the moves detection feature on or off | |
elementSplittingEnabled | Sets whether modified elements containing text should be split when the amount of unchanged text falls below a given percentage | |
elementSplittingThreshold | Sets the percentage of unchanged text present in a modified element below which the element will be split | |
mixedContentDetectionScope | Set the scope to use for determining if each element in the document is of a mixed-content type | |
modifiedWhitespaceBehaviour | Set the ModifiedWhitespaceBehaviour to use for changes to whitespace | |
moveAttributeXpath | Sets id attribute XPath to be used during moves detection | |
orphanedWordDetectionEnabled | States whether or not orphaned word detection is enabled | |
orphanedWordLengthLimit | Sets the maximum number of words to consider for orphaned word detection | |
orphanedWordMaxPercentage | Sets the maximum proportion of the total change size that orphaned words can take while still being considered orphans |
Element: svgConfiguration 24
Specifies configuration options for SVG Comparison.
These configuration options can be specified on a DocumentComparator to configure its behaviour when comparing SVG.
Contained by
Contains
Element | Description | |
---|---|---|
enableSVG | Sets whether the DocumentComparator should do SVG comparison | |
fallback | Determines whether to fallback to {@link SVGComparisonGranularity | |
fallbackChangePercentage | Sets Fallback Change Percentage setting for SVG comparison results | |
svgGranularity | Sets the granularity at which the differences between two SVG images will be represented | |
svgInputAMarkupStyle | Sets the Input A SVG markup style setting for SVG comparison results | |
svgInputBMarkupStyle | Sets the Input A SVG markup style setting for SVG comparison results | |
xPathToReferencedSVG | Sets XPath to the referenced SVG |
Element: tableConfiguration 25
Specifies configuration options for table comparison.
These configuration options can be specified on a DocumentComparator to configure its behaviour when comparing tables.
Contained by
Contains
Element | Description | |
---|---|---|
calsValidationLevel | Sets the ValidationLevel to use for CALS table validation | |
invalidCalsTableBehaviour | Sets the behaviour to use when inputs contain invalid CALS tables | |
processCalsTables | Sets whether the DocumentComparator should process CALS tables | |
processHtmlTables | Sets whether the DocumentComparator should process HTML tables | |
warningReportMode | Specifies how table invalidity warnings should be reported |
Element: property 26
Sets the string value of a named property
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The parameter name |
literalValue | string | The literal string value |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: feature 27
Sets the boolean value of a named feature.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | The literal boolean value for the feature setting. |
name | anyURI | The fully qualitifed feature name. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: booleanProperty 28
A named boolean property
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The parameter name |
literalValue | boolean | The literal boolean value |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: stringProperty 29
A named string property
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The parameter name |
literalValue | string | The literal string value |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: postTablePoint 30
The filter extension point immediately after table processing.
Contained by
Contains
Element | Description | |
---|---|---|
filter | An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline |
Element: preTablePoint 31
The filter extension point immediately before table processing.
The preTablePoint element must be placed before the postTablePoint element.
Contained by
Contains
Element | Description | |
---|---|---|
filter | An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline |
Element: filter 32
An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline.
There must be one 'class', 'http', 'resource' or 'file' child element for a filter element as this defines the filter type and how it is to be loaded. Attributes on the filter element may be used to control whether the filter is enabled or disabled.
Child 'parameter' elements may also be added so that parameter values are passed on to matching parameters in the XML filter. Any number of filter elements may be added to an extension point, filters are processed in the pipeline in order of occurrence.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
if | NCName | Enable filter when named boolean pipelineParameter is true. |
unless | NCName | Disable filter when named boolean pipelineParameter is true. |
when | string | Enable filter when XPath expression evaluates true. |
Element | Description | |
class | Load a Java class implementing the SAX XMLFilter interface from the ClassPath | |
file | Load an XSLT filter from the file system | |
http | Load XSLT filter from an identified HTTP resource | |
parameter | A named parameter to supply to a filter - any XPath-item type (including a sequence) can be supplied to an XSLT filter using the xpath attribute | |
resource | Load an XSLT filter as a resource in a jar file |
Element: finalPoint 33
The final filter extension point in the DocumentComparator output pipeline.
Contained by
Contains
Element | Description | |
---|---|---|
filter | An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline |
Element: preAttributePoint 34
The filter extension point after table processing and just before attribute processing in the DocumentComparator output pipeline.
The element must be placed after any ...TablePoint elements.
Contained by
Contains
Element | Description | |
---|---|---|
filter | An XSLT or Java XML processing filter to be loaded into the DocumentComparator pipeline |
Element: description 35
Short summary of the purpose of the parameter.
Contained by
Contains
Type: xs:string
Element: calsColumnKeyingMode 36
Sets the column keying mode used to align table columns when the table processing is enabled.
In AUTO mode, the comparator will automatically handle the entire keying process. Only AUTO mode allows for user-defined keys in the input files. This is not possible in other modes. In COLNAME mode, comparator will use column names (defined by @colname) as keys. In POSITION mode, comparator will use column positions as keys. Indexing starts from 1 and the maximum position is defined by the number of columns described by @cols attribute.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: calsValidationLevel 37
Sets the ValidationLevel to use for CALS table validation.
A value of ValidationLevel.STRICT will cause the InvalidTableBehaviour mode to be used for any CALS invalidity. A value of ValidationLevel.RELAXED means that invalidities which are known to have no effect on CALS processing will not prevent CALS processing from running. N.B. Warnings will be reported according to the WarningReportMode regardless of the setting used here.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: ignoreColumnOrder 38
Sets whether the DocumentComparator should ignore table column order.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to ignore table column order |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: invalidCalsTableBehaviour 39
Sets the behaviour to use when inputs contain invalid CALS tables.
Some of the processing used for CALS table comparison makes the assumption that the tables conform to the CALS specification. In order to avoid errors in this processing, the tables are first validated to ensure that it will work as expected. When tables are not valid, there are several options for the behaviour that the comparison should take. This enum is used to specify the options
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: processCalsTables 40
Sets whether the DocumentComparator should process CALS tables.
CALS table processing is recommended as it will perform sophisticated processing when comparing two CALS tables to ensure that the resulting CALS table is valid.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable processing of CALS tables |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: warningReportMode 41
Specifies how table invalidity warnings should be reported.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: htmlColumnKeyingMode 42
Sets the column keying mode used to align table columns when the table processing is enabled.
In AUTO mode, the comparator will automatically handle the entire keying process. Only AUTO mode allows for user-defined keys in the input files. This is not possible in other modes. In POSITION mode,comparator will use column positions as keys. Indexing starts from 1 and the maximum position is defined by the number of columns described by @col attribute.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: htmlValidationLevel 43
Sets the ValidationLevel to use for HTML table validation.
A value of ValidationLevel.STRICT will cause the InvalidTableBehaviour mode to be used for any HTML invalidity. A value of ValidationLevel.RELAXED means that invalidities which are known to have no effect on HTML processing will not prevent HTML processing from running. N.B. Warnings will be reported according to the WarningReportMode regardless of the setting used here.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: invalidHtmlTableBehaviour 44
Sets the behaviour to use when inputs contain invalid HTML tables.
Some of the processing used for HTML table comparison makes the assumption that the tables conform to the HTML specification. In order to avoid errors in this processing, the tables are first validated to ensure that it will work as expected. When tables are not valid, there are several options for the behaviour that the comparison should take. This enum is used to specify the options
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: normalizeHtmlTables 45
Sets whether the Document Comparator should normalize the specification of columns in HTML tables.
This setting is recommended when there is a difference between inputs of specifying columns, e.g. if one uses just * <colgroup> and another uses <col> without <colgroup>.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable normalization of HTML table column specification |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: processHtmlTables 46
Sets whether the DocumentComparator should process HTML tables.
HTML table processing is recommended as it will perform sophisticated processing when comparing two HTML tables to ensure that the resulting HTML table is valid.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable processing of HTML tables |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: defaults 47
This required element is the container for elements that set the defaults for all lexical preservation artifacts.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: overrides 48
Container for elements that override defaults for specific lexical preservation artifacts
Contained by
Contains
Element | Description | |
---|---|---|
advancedEntityReferenceUsage | For controlling some specialist use cases, where both the entity references and their replacement text are compared | |
outerPiAndCommentProcessingMode | Set processingMode for processing-instructions and comments occurring before or after the root element | |
preserveItems | Container for preservation of specific lexical preservation artifacts, these override general preservation settings for all artifacts contained in the 'defaults' element |
Element: enableMathml 49
Sets whether the DocumentComparator should use MathML-specific processing.
MathML processing is recommended as it will use MATHML-aware features when comparing two MathML expressions to ensure that the result can be rendered.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable MathML processing |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: mathmlGranularity 50
Sets the granularity at which the differences between two MathML expressions will be represented.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: attributeChangeMarked 51
Sets the behaviour for marking elements with an attribute changed marker - for cases where attribute changes can not otherwise be represented.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set 'true' to mark changed attributes in output. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: frameMakerTcsTableChangeMode 52
Specify how table changes are propagated for FrameMaker tracked changes representations, the default is down.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: grouping 53
Sets the behaviour for grouping adjacent changes.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set 'true' to group adjacent changes in output. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: modifiedAttributeMode 54
Determines how modified attributes are represented in the output.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: modifiedFormatOutput 55
Sets the behaviour for outputting elements with modified formatting.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: orderlessPresentationMode 56
Specifies how the child elements of 'orderless' elements should be output.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: resultFormat 57
Specifies the format of results output from the DocumentComparator.
The default resultFormat is 'delta'.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: trackChangesAuthor 58
Author name to use when generating tracked changes in the result document.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | string | The author name to use. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: trackChangesDate 59
The date-time to be used for tracked change representations, otherwise the current date-time is used.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | dateTime | The date-time to use - example: 2001-10-26T21:32:52 |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: xmetalTcsTableChangeMode 60
Specify how table changes are propagated for XMetal tracked changes representations, the default is down.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: changeGatheringEnabled 61
Sets whether to change the order of consecutive changed items to improve readability.
If the result contains a sequence of elements whose deltaxml:deltaV2 attribute values are mixed up in a sequence of As and Bs, enabling this feature will cause them to be reordered so that they are not mixed.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enabled change gathering |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: detectMoves 62
Sets the moves detection feature on or off.
The move detection feature uses unique ids to identify moves. These unique ids can be set using the option 'moveAttributeXpath'.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable moves detection feature |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: elementSplittingEnabled 63
Sets whether modified elements containing text should be split when the amount of unchanged text falls below a given percentage.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable element splitting |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: elementSplittingThreshold 64
Sets the percentage of unchanged text present in a modified element below which the element will be split.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | Percentage | The threshold percentage as in integer (1 to 100) |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: mixedContentDetectionScope 65
Set the scope to use for determining if each element in the document is of a mixed-content type.
The mixed content type affects whitespace processing. If DTD or XML Schema validation is used this setting has no effect.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: modifiedWhitespaceBehaviour 66
Set the ModifiedWhitespaceBehaviour to use for changes to whitespace.
Here, both documents must have some whitespace at a given point in order for there to be a change in whitespace. This will then be processed in accordance with the specified behaviour. Whitespace insertions and deletions are not affected by the modified whitespace behaviour.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: moveAttributeXpath 67
Sets id attribute XPath to be used during moves detection.
This id attribute must be an unique identifier for an element. It is used to identify and detect source and target for an element move.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | string | Sets id attribute XPath to be used during moves detection |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: orphanedWordDetectionEnabled 68
States whether or not orphaned word detection is enabled.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Enable/disable. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: orphanedWordLengthLimit 69
Sets the maximum number of words to consider for orphaned word detection.
Sequences of words longer than the specified length will never be detected as orphaned words, regardless of the amount of changed words around them.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | unsignedLong | |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: orphanedWordMaxPercentage 70
Sets the maximum proportion of the total change size that orphaned words can take while still being considered orphans.
If the percentage value for a possibly orphaned section is less than or equal to this value, then it is classified as orphaned (unless there are more words than the length limit allows). The percentage value for a possibly orphaned section is calculated as follows:
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | Percentage | An integer value (1 to 100) that is the max percentage of the total change size were a change is considered to be orphaned. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: enableSVG 71
Sets whether the DocumentComparator should do SVG comparison.
SVG comparison is recommended as it will use SVG-aware features when comparing two SVG images to ensure that the result can be rendered.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to enable SVG comparison |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: fallback 72
Determines whether to fallback to {@link SVGComparisonGranularity.
ADJACENT}. SVG comparison granularity will fallback to SVGComparisonGranularity.ADJACENT if SVG exceeds the number changed elements defined by FallbackChangePercentage.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Determines whether to fallback |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: fallbackChangePercentage 73
Sets Fallback Change Percentage setting for SVG comparison results.
The default value is 30.00%.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | double | Sets Fallback Change Percentage |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: svgGranularity 74
Sets the granularity at which the differences between two SVG images will be represented.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: svgInputAMarkupStyle 75
Sets the Input A SVG markup style setting for SVG comparison results.
The default is "outline: 1px dotted red;" and XML Compare expects the style in the same format.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | string | Sets the Input A SVG markup style |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: svgInputBMarkupStyle 76
Sets the Input A SVG markup style setting for SVG comparison results.
The default is "outline: 1px dotted green;" and XML Compare expects the style in the same format.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | string | Sets the Input A SVG markup style |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: xPathToReferencedSVG 77
Sets XPath to the referenced SVG.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | string | Sets XPath to the referenced SVG. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: class 78
Load a Java class implementing the SAX XMLFilter interface from the ClassPath.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The fully qualified name of the class. |
Element: file 79
Load an XSLT filter from the file system.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
path | string | The path of the filter to be loaded, relative paths are resolved according to the setting of the 'relBase' attribute. |
relBase | [enum] | The relBase attribute is used to specify how the relative path to a file is resolved. Permitted values / descriptions:
|
Element: http 80
Load XSLT filter from an identified HTTP resource.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
url | anyURI | The URL of the HTTP resource. |
Element: parameter 81
A named parameter to supply to a filter - any XPath-item type (including a sequence) can be supplied to an XSLT filter using the xpath attribute.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The parameter name |
literalValue | string | The literal string value |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: resource 82
Load an XSLT filter as a resource in a jar file.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
name | anyNameType | The resource name, for example, '/xsl/resource.xsl' |
Element: outputType 83
Set the default PreservationOutputType for changes to preserved items.
Used to specify how the lexically preserved items should be styled. Here, the two available styles are either 'normal' or 'encoded'. A third option of 'auto' enables the specified default style to be applied. Note that when 'auto' is selected for the default style then the default style is treated as 'normal'.
Contained by
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / XMLDeclaration
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / defaultAttributeInfo
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / entityReferences
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / ignorableWhitespace
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / processingInstructions
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: processingMode 84
Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed.
Contained by
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / XMLDeclaration
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / defaultAttributeInfo
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / entityReferences
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / ignorableWhitespace
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / processingInstructions
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: retain 85
Sets whether information on a lexical preservation artifact is preserved in the pipeline.
The Java API equivalent is: 'setPreserve[artifactName]'.
Contained by
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / XMLDeclaration
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / contentModel
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / defaultAttributeInfo
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / documentLocation
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / entityReferences
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / entityReplacementText
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / ignorableWhitespace
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / nestedEntityReferences
/ documentComparator / standardConfig / lexicalPreservation / overrides / preserveItems / processingInstructions
Contains
Attribute | Type | Description |
---|---|---|
literalValue | boolean | Set true to keep information on a lexical preservation artifact. |
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: advancedEntityReferenceUsage 86
For controlling some specialist use cases, where both the entity references and their replacement text are compared.
One use case where you might want to set this variable explicitly is: when you configure the comparator for standard 'round trip' lexical preservation, but the final output format cannot represent entity references. In this case, the REPLACE value can be used. This is an alternative to specifying a custom processing mode that performs round trip processing, except for entity references which are substituted for their values (i.e. their replacement text) prior to the comparison.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: outerPiAndCommentProcessingMode 87
Set processingMode for processing-instructions and comments occurring before or after the root element.
Contained by
Contains
Attribute | Type | Description |
---|---|---|
literalValue | [enum] |
Permitted values / descriptions:
|
parameterRef | string | Name of referenced pipelineParameter |
xpath | [expression] | XPath expression returning the required type |
Element: preserveItems 88
Container for preservation of specific lexical preservation artifacts, these override general preservation settings for all artifacts contained in the 'defaults' element.
Contained by
Contains
Element | Description | |
---|---|---|
CDATA | Controls preservation of CDATA sections found in the input documents | |
XMLDeclaration | Controls preservation XML declarations in the input documents | |
comments | Controls preservation of XML comment nodes found in the input documents | |
contentModel | Controls preservation of DTD/Schema Element Content Model | |
defaultAttributeInfo | Controls how information is preserved on DTD/Schema-defined default attributes added by the parser | |
doctype | Controls preservation of DocType declarations and the internal DTD subset | |
documentLocation | Controls preservation of the original document location (the systemId) | |
entityReferences | Controls preservation of entity references found in the input documents | |
entityReplacementText | Controls preservation of text to be used when entities are resolved | |
ignorableWhitespace | Controls preservation of whitespace identified as ignorable by a DTD or XML Schema | |
nestedEntityReferences | Controls preservation of entities references actually occurring within entities | |
processingInstructions | Controls preservation of XML processing-instruction nodes found in the input documents |
Element: CDATA 89
Controls preservation of CDATA sections found in the input documents.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: XMLDeclaration 90
Controls preservation XML declarations in the input documents.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: comments 91
Controls preservation of XML comment nodes found in the input documents.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: contentModel 92
Controls preservation of DTD/Schema Element Content Model.
Contained by
Contains
Element | Description | |
---|---|---|
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: defaultAttributeInfo 93
Controls how information is preserved on DTD/Schema-defined default attributes added by the parser.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: doctype 94
Controls preservation of DocType declarations and the internal DTD subset.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: documentLocation 95
Controls preservation of the original document location (the systemId).
Contained by
Contains
Element | Description | |
---|---|---|
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: entityReferences 96
Controls preservation of entity references found in the input documents.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: entityReplacementText 97
Controls preservation of text to be used when entities are resolved.
Contained by
Contains
Element | Description | |
---|---|---|
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: ignorableWhitespace 98
Controls preservation of whitespace identified as ignorable by a DTD or XML Schema.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: nestedEntityReferences 99
Controls preservation of entities references actually occurring within entities.
Contained by
Contains
Element | Description | |
---|---|---|
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
Element: processingInstructions 100
Controls preservation of XML processing-instruction nodes found in the input documents.
Contained by
Contains
Element | Description | |
---|---|---|
outputType | Set the default PreservationOutputType for changes to preserved items | |
processingMode | Sets the 'PreservationProcessingMode' for controlling behaviour when preserved lexical artifacts have changed | |
retain | Sets whether information on a lexical preservation artifact is preserved in the pipeline |
This documentation was auto-generated from the DCP XML Schema XSD.