Patent Document ID: 8370735
Application ID: 12147516

Base Claim:
1. A system for processing an XML document, comprising: an input/output device comprising: a buffer component configured to: initialize a first buffer for processing an XML document; a reader object configured to: perform a read I/O operation for a first element of the XML document to read the first element into the first buffer; and invoke a read callback to a first thread, configured to process the XML document, upon completion of the read I/O operation; a writer object configured to: perform a write I/O operation for a second element within the first buffer to write the second element from the first buffer into system memory; and invoke a write callback to a second thread, configured to process the XML document, upon completion of the write I/O operation, the input/output device configured to provide concurrent processing of the XML document by the first thread and the second thread, without blocking the first thread and the second thread, utilizing at least one of the read callback or the write callback; a second reader object configured to process a second XML document in parallel with the reader object processing the XML document, the second reader object instantiated concurrently with the reader object; and a second writer object configured to process a third XML document in parallel with the writer object processing the XML document, the second writer object instantiated concurrently with the writer object.

---

Claim 13:
13. The system of claim 1 , the buffer component configured to: identify an obstruction within the first element; remove the obstruction from the first element to create a modified first element; and allocate a first buffer size for the first buffer based upon a size of the modified first element.