Article Dans Une Revue Software: Practice and Experience Année : 2022

Semantics to the rescue of document‐based XML diff: A JATS case study

Résumé

The writing of digital text documents has become a longer process that usually goes through revision rounds. Document comparison is important for the human reader interested in changes made by the authors. These documents contain structural data using text-centric XML as one of their main storage systems. Current XML diff algorithms are able to represent differences with a limited number of edit operations: insert, delete, move and update. This approach does not fit the scope of digital text document comparison where the human reader needs to understand actual modifications made by the author. With JATS being a text-centric XML vocabulary, we propose within this paper a new XML diff algorithm called jats-diff, able to support bijection between higher-level modifications made by the authors, such as structural changes and restyling, and the changes detected between XML documents. In addition, jats-diff provides similarity information between different nodes in order to measure the impact of the text changes on the XML tree. K E Y W O R D S academic publishing, change semantics, diff algorithms, document comparison, high-level changes, JATS, text-centric XML, XML diff This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited.

Fichier principal
Vignette du fichier
cuculovic2022.pdf (1.43 Mo) Télécharger le fichier
Origine Fichiers éditeurs autorisés sur une archive ouverte
Licence

Dates et versions

hal-03606179 , version 1 (11-03-2022)

Licence

Identifiants

Citer

Milos Cuculovic, Frederic Fondement, Maxime Devanne, Jonathan Weber, Michel Hassenforder. Semantics to the rescue of document‐based XML diff: A JATS case study. Software: Practice and Experience, In press, ⟨10.1002/spe.3074⟩. ⟨hal-03606179⟩

Collections

81 Consultations
295 Téléchargements

Altmetric

Partager

  • More