Software / QBK XML Differ / Technical architecture
This page is for developers, XML specialists and technical project managers. It introduces the modules and technologies in the supplied differ project.
Modular matcher architecture
The project includes modules for identical content, IDs, sibling relationships, titles, sections, tables, paragraph similarity, inline content and attributes.
Matcher framework and API
A dedicated framework controls the matching steps. A matcher API manages relationships between nodes and makes existing matches available to subsequent steps.
Text similarity and stemming
For changed paragraphs, the project includes a para-similarity-matcher and helper modules for string or word distance and German stemming.
Myers Diff
An implementation of the Myers diff algorithm is included as a separate technical component.
Inline and attribute matching
Dedicated modules handle finer differences within matched content and XML attributes.
Edit script and validation
The edit script has its own schema layer using RELAX NG Compact and Schematron. The project also includes a patcher component.
Tests
The project includes unit and XSpec tests for core components such as Myers Diff, inline matching, the matcher API and side-by-side transformation.
Technologies
The differ project uses, among other things:
QBK XML Differ for your documents
For a technical review, we can examine the matcher pipeline together using a representative document pair.