Apparatus and method for comparing computer documents using tree structures
Abstract
Embodiments of the present invention include a computer-implemented method of comparing computer documents such as programs and XML. A hierarchical level may be specified. For each hierarchical level between a root and the specified hierarchical level, first and second searches are executed for nodes representing subsections of each document. The returned nodes from the first search correspond to subsections of the first computer document, and may be set equal to nodes representing the second document if the addresses are the same. The second search is executed on the second document, and the addresses of the nodes returned by the first search may be compared against addresses for nodes returned from the second search. Nodes are matched and marked as equal. The hierarchical level may then be increased and the process repeated until the root node is reached.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method of comparing a first computer document and a second computer document comprising: for each of a plurality of hierarchical levels of the first computer document starting at a deepest common hierarchical level to a root level, wherein the first and second computer documents comprise subsections represented by corresponding nodes, wherein each node has an address, and wherein one or more nodes are designated as equal when a particular node corresponding to a subsection of the first computer document has the same address as a particular node corresponding to a subsect
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (1)
- EESR (from a corresponding foreign application), EP 09011097.4, mailed Mar. 15, 2010.