US 12,423,072 B2
Systems and methods for validating structured documents
Chang Xu, Beijing (CN)
Assigned to SAP SE, Walldorf (DE)
Filed by SAP SE, Walldorf (DE)
Filed on May 12, 2023, as Appl. No. 18/316,718.
Application 18/316,718 is a continuation of application No. PCT/CN2023/081630, filed on Mar. 15, 2023.
Prior Publication US 2024/0311430 A1, Sep. 19, 2024
Int. Cl. G06F 8/41 (2018.01); G06F 8/75 (2018.01)
CPC G06F 8/43 (2013.01) [G06F 8/75 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method of validating structured electronic documents comprising:
parsing, by at least one computer, a schema file to determine a structure and data formats;
parsing, by the at least one computer, at least one first structured electronic document of a plurality of linked structured electronic documents to identify at least one reference to a document fragment in a second structured electronic document of the plurality of linked documents;
generate, by the at least one computer, a third structured electronic document comprising the first structured electronic document with the document fragment inserted in place of the reference;
validating, by the at least one computer, the third structured electronic document to produce a first diagnostic array based on a mismatch between the third structured electronic document and structure or data formats specified in the schema file; and
converting, by the at least one computer, the first diagnostic array to a second diagnostic array matching the at least one first structured electronic document.