×

System and method for validating hierarchically-organized messages

  • US 7,464,331 B2
  • Filed: 08/18/2003
  • Issued: 12/09/2008
  • Est. Priority Date: 08/18/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-readable storage medium encoded with computer-executable instructions to perform a method of validating text content structured into a plurality of elements comprised of markup and the content, which is delimited by the mark, the method comprising:

  • encountering as part of a depth-first traversal order for encountering the plurality of elements, a first element of the plurality of elements;

    consulting one or more validation tables to identify, from among a plurality of validation delegates, a first delegate that corresponds to said first element, the one or more validation tables not being schema that describe valid syntax or structure of said text content, the one or more validation tables including a local validation table and a global validation table, the one or more validation tables including for each element listed in said one or more validation tables, a flag indicating whether subtrees of a given element are to be traversed;

    determining that the flag corresponding to said first element indicates that subtrees of said first element are to be traversed;

    executing said first delegate with the content of the first element to determine whether the content in the first element is valid;

    encountering as part of the depth-first traversal order for encountering the plurality of elements, a second element that is a root of a subtree of said first element;

    consulting the one or more validation tables to identify, from among the plurality of validation delegates, a second delegate; and

    executing said second delegate with the content of the second element to determine whether the content in the second element is valid,wherein at least one of said first delegate or said second delegate determines whether the content of the element to which it is applied is valid based on at least one non-syntactic condition of the corresponding content.

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