Patent · US Active

Directed SAX parser for XML documents

US8103952B2 · kind B2 · utility

13Cited by
1References
12Claims
0Family size

Assignee

Inventor

Key dates

Filing dateMar 27, 2007
Grant dateJan 24, 2012
Priority date
Expiry dateMar 10, 2030

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F40/143
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method for processing XML documents using a SAX parser, implemented in a two-thread architecture having a main thread and a parsing thread. The parsing procedure is located in a parsing thread, which implements callback functions of a SAX parser and creates and executes the SAX parser. The main thread controls the parsing thread by sending target content to be searched for and wakeup signals to the parsing thread, and receives the content found by the parsing thread for further processing. In the parsing thread, each time a callback function is invoked by the SAX parser, it is determined whether the target content has been found. If it has, the parsing thread sends the found content to the main thread with a wakeup signal, and enters a sleep mode, whereby further parsing is halted until a wakeup signal with additional target content is received from the main thread.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.