×

Technique for skipping irrelevant portions of documents during streaming XPath evaluation

  • US 8,713,426 B2
  • Filed: 06/25/2009
  • Issued: 04/29/2014
  • Est. Priority Date: 06/25/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method for evaluating a query for a hierarchical path of a document, the method comprising:

  • determining a name of a particular node of hierarchical markup data in the document, wherein the particular node comprises one or more node values between a start of the particular node and an end of the particular node;

    determining that the particular node does not fit within the hierarchical path;

    accessing a summary of node locations in the document, the summary stored on a volatile or non-volatile computer-readable storage medium, the summary comprising, for each node of one or more nodes, a pair of marks comprising a start mark and another mark, the start mark specifying a first location in the document where the node starts, and the other mark specifying a second location in the document that is at or after where the node ends;

    determining that the start mark of the pair of marks for the particular node is in the summary;

    without evaluating at least part of the one or more node values, skipping to the second location in the document specified by the other mark of the pair of marks for the particular node in the summary;

    wherein the method is performed by one or more computing devices.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×