EP1513073B1

System and method for validating hierarchically-organized messages

Abstract

This record has no abstract on file.

EP1513073B1, drawing sheet 1
Sheet 1 of 6

Term

Term ended

Expired 15 July 2024, 2.2 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

10 claims: 3 independent, 7 dependent

  1. 1
    A computer implemented method of validating a message (200) organized in the form of a tree (300), each element of the message corresponding to a node in the tree, the method comprising the steps of:invoking delegates to elements of the tree starting with the root element (302) of the tree and traversing the tree in a left-to-right, depth-first order, wherein a delegate performs the validation for an element of the tree, said invoking comprising, for each element of the tree: consulting (604) a first validation table (500) to identify a delegate for the element, wherein the first validation table specifies delegates that are specific to a particular message class;if there is a delegate specified for the element in the first validation table, invoking (610) said delegate;if there is no delegate specified for the element in the first validation table, consulting (607) a second validation table to identify a delegate for the element, wherein the second validation table specifies delegates that apply to a broad category of message classes;and if there is a delegate specified for the element in the second validation table, invoking (610) said delegate, wherein after all subtrees of the element have been traversed, (616) the first validation table is consulted (616) to identify a post-handler delegate for the element, and if there is a post-handler delegate specified for the element in the first validation table, said post-handler delegate is invoked (618).
  2. 7
    A computer-readable medium having stored thereon computer executable instructions that when executed by a computer perform the method steps of one of claims 1 to 6.
  3. 8
    A system for validating a message (200) organized in the form of a tree (300), the system comprising:a first validation table specifying a plurality of delegates that are specific to a particular message class, wherein a delegate performs the validation for an element of the tree,;a second validation table specifying a plurality of delegates that apply to a broad category of message classes;a validation engine configured to invoke delegates to elements of the tree starting with the root element (302) of the tree and traversing the tree in a left-to-right, depth-first order, said invoking comprising, for each element of the tree: consulting (604) the first validation table (500) to identify a delegate for the element;if there is a delegate specified for the element in the first validation table, invoking (610) said delegate;if there is no delegate specified for the element in the first validation table, consulting (607) the second validation table;and if there is a delegate specified for the element in the second validation table, invoking (610) said delegate, wherein after all subtrees of the element have been traversed, the first validation table is consulted (616) to identify a post-handler delegate for the element, and if a post-handler is specified for the element in the first validation table, said post-handler is invoked (618).