Patent ID: 9477651
Filing Date: 2016-10-25
CPC Classification: G06F

Claim Text:
1. A computer-implemented method of identifying partition locations within an XML document and performing parallel processing of the XML document, said method comprising: determining, by a processor, a partition node XPath in the XML based upon extract, transfer and load (ETL) job requirements and a schema of the XML document wherein the partition node XPath is a path occurring multiple times within the XML document at a main body portion; identifying, by the processor, a header context of the XML document by parsing the XML document from a start of the XML document to a point in the XML document before a first occurrence of a partition node in the partition node XPath; marking, by the processor, said XML document at a location prior to the first occurrence of said partition node with an indication of an end point of said header context; identifying, by the processor, a footer context of the XML document by reverse parsing of the XML document from an end of the XML document until a first occurrence of a close of a partition in the partition node XPath; marking, by the processor, said XML document at a location after the first occurrence of the close of said partition node with an indication of a start point of said footer context; and merging, by the processor, the header context and the footer context within said XML document, wherein the merging comprises moving values of the footer context to a marked location at an end of the header context while maintaining sequencing of level information within the header context and the footer context, and each resulting partition is processed with said merged header and said footer context; before parsing the main body portion of the XML document: performing parsing via parallel processing of the XML document, by a plurality of processors, using the adjusted boundaries of the resulting partitions.