【24h】

A FAULT-TOLERANT THREE-WAY MERGE FOR XML AND HTML

机译:XML和HTML的容错三向合并

获取原文
获取原文并翻译 | 示例

摘要

Three-way merging is a technique that is used to reintegrate changes to a document when multiple independently modified copies have been made. Tools for three-way merge of ASCII text files exist in the form of the ubiquitous diff and patch tools, but these are of limited applicability when parts of the documents have been rearranged. Our fault-tolerant three-way merge for XML and HTML was designed to support rearrangements to document structure, as well as situations where the well-formedness of the document has been lost. This is achieved by taking a text-based approach that recognizes moved text and uses normalization and denormalization of whitespace. As there are many possibilities for merging moved text we decided to base the design of the merge on principles derived from a set of use cases, which systematically explore different merging situations. This design process should help ensure that the chosen merge is useful from a practical point of view.
机译:三向合并是一种技术,用于在完成多个独立修改的副本后将更改重新集成到文档中。用于ASCII文本文件的三向合并的工具以普遍存在的diff和patch工具的形式存在,但是当部分文档重新排列后,这些工具的适用性有限。我们针对XML和HTML的容错三向合并旨在支持对文档结构的重新安排,以及丢失格式正确的文档的情况。这是通过采用基于文本的方法来实现的,该方法可识别移动的文本并使用空格的归一化和非归一化。由于合并移动文本的可能性很多,因此我们决定将合并的设计基于一组用例的原则,这些用例系统地探讨了不同的合并情况。从实际的角度来看,此设计过程应有助于确保选择的合并有用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利