System and method for validating hierarchically-organized messages
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- "Schema" definition provided by Internet encyclopedia Wikipedia, pp. 1-2.
- "Semantics" definition provided by Internet encyclopedia Wikipedia, pp. 1-5.
- "Syntax" definition provided by Internet encyclopedia Wikipedia, pp. 1-5.
- Tittel et al., XML for Dummies 2nd Edition, copyright 2000, IDG Books Worldwide, Inc., p. 14.
- Tittel et al., XML for Dummies 2nd Edition, copyright 2000, IDG Books Worldwide, Inc., pp. 61-78 and 299.