Patent ID: 7562293

Claim:
A data processing method, comprising: receiving an electronically parseable document; scanning the electronically parseable document according to at least one predefined rule to determine if the electronically parseable document is suspicious; parsing the electronically parseable document with a first parser if the electronically parseable document is determined not to be suspicious; and parsing the electronically parseable document with a second parser if the electronically parseable document is determined to be suspicious, wherein the first parser is faster than the second parser, wherein said method further comprises: converting the electronically parseable document from a first format to a second format during the scanning the electronically parseable document; monitoring a performance of the first parser if the electronically parseable document is determined not to be suspicious; adjusting said at least one predefined rule based on the monitoring the performance of the first parser if the electronically parseable document is determined not to be suspicious; creating a new rule based on the monitoring the performance of the first parser if the electronically parseable document is determined not to be suspicious; monitoring a performance of the second parser if the electronically parseable document is determined to be suspicious; and discarding a next document prior to a next parsing if the electronically parseable document is determined not to be suspicious, and if said next document is of a type substantially similar to said electronically parseable document that has been determined to be suspicious, and wherein the electronically parseable document is determined to be suspicious, if the electronically parseable document comprises a well-formed document within a plurality of rules, and if a parameter of the well-formed document exceeds a threshold, thus suggesting that the well-formed document may cause a receiving system to fail if the well-formed document is parsed by the receiving system.