×

XML patterns language

  • US 7,240,279 B1
  • Filed: 06/19/2002
  • Issued: 07/03/2007
  • Est. Priority Date: 06/19/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for evaluating a source document for compliance with a rule set that represents a set of contextual guidelines to which the source document must conform, comprising:

  • parsing the rule set for rule node, wherein the rule node provides a context value for identifying in the source document a set of source nodes that should be evaluated for conformance to the contextual guidelines;

    evaluating the context value of the rule node in relation to the source document to identify in the source document the set of nodes that should be evaluated for conformance to the contextual guidelines;

    parsing the rule node for a pattern node, wherein the pattern node includes a pattern matching expression and is a descendent of the rule node, and wherein the pattern node represents one of the set of contextual guidelines to which the source document must conform;

    evaluating the pattern matching expression of the pattern node to determine whether a match exists between the pattern matching expression and at least one source node;

    if a match exists, generating a repair document including computer code that is executed to repair a nonconformance between the at least one source node and the pattern node, if the at least one source node does not conform to the pattern node;

    parsing the pattern node for a repair node, wherein the repair node includes a summary node for summarizing the nonconformance and a detail message node to provide further detail of the nonconformance;

    evaluating a selection value of the summary node to determine a summary expression and the detail message node to determine a detail expression, wherein the summary expression and the detail expression each comprises an XPath expression;

    evaluating the expression with information from the at least one source node to identify a particular summary message text and evaluating the detail expression with information about the at least one source node to identify a particular detail message text; and

    one step selected from the group steps consisting of;

    storing the summary message text and the detail message text in a report document; and

    displaying the summary message text and the detail message text.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×