Invention Grant
US07464331B2 System and method for validating hierarchically-organized messages
有权
用于验证分层组织的消息的系统和方法
- Patent Title: System and method for validating hierarchically-organized messages
- Patent Title (中): 用于验证分层组织的消息的系统和方法
-
Application No.: US10643031Application Date: 2003-08-18
-
Publication No.: US07464331B2Publication Date: 2008-12-09
- Inventor: Raymond Robert Patch , Mathrubootham Janakiraman
- Applicant: Raymond Robert Patch , Mathrubootham Janakiraman
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Woodcock Washburn LLP
- Main IPC: G06F17/00
- IPC: G06F17/00

Abstract:
A mechanism for validating a message, such as an XML message or other hierarchically-organized content. A validation engine walks through the tree represented by the message preferably in depth-first traversal order. Upon encountering each node in the tree, the validation engine consults a validation table to identify a delegate that is to be invoked. The validation engine then invokes the delegate identified for that node, and calls itself recursively on the subtrees of the current node. After the subtrees have been processed, the validation engine again consults the validation table to identify a post-handler for the current node, and then invokes the post-handler. An entry in the validation table may be flagged as “exclusive” to prevent traversal of subtrees of the node corresponding to that entry. Additionally, there may be both global and local validation tables, where the global table is used when a node has no entry in the local table.
Public/Granted literature
- US20050044093A1 System and method for validating hierarchically-organized messages Public/Granted day:2005-02-24
Information query