Patents
US 7,437,374 B2#1621520 Most CitedExpiredUnited States (USPTO)Utility

Efficient XML schema validation of XML fragments using annotated automaton encoding

37Forward Citations (#1621520 Global)
2.1/yrCitation Velocity (#1918735 Global)
3.93Citation PageRank (#4894438 Global)
48Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An XML schema is compiled into an annotated automaton encoding, which includes a parsing table for structural information and annotation for type information. The representation is extended to include a mapping from schema types to states in a parsing table. To validate a fragment against a schema type, it is necessary simply to determine the state corresponding to the schema type, and start the validation process from that state. When the process returns to the state, fragment validation has reached successful completion. This approach is more efficient than a general tree representation. Only the data representation of the schema information is handled, making it much easier than manipulating validation parser code generated by a parser generator. In addition, only one representation is needed for schema information for both document and fragment validation. This approach also provides a basis for incremental validation after update.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 37.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-based method for validating a fragment of an XML document, said computer-based method implemented in computer readable program code, said computer readable program code stored in computer memory, said computer-based method comprising steps of: (a) receiving as input a fragment of an XML document into a runtime validation engine; (b) outputting a validation pass message based on an LR parsing technique as follows: (i) obtaining a first token from said fragment of said XML document, (ii) determining whether said first token is of element type said fragment of said XML document that is

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (15 of 37 total)

Non-Patent Literature (5)

  • B Bouchou, D Duarte, MHF Alves, D Laurent. "Extending tree automata to model XML validation under element and attribute constraints" pp. 184-190. Document modified Mar. 23, 2003. Accessed Nov. 16, 2007. Available online.
  • Cooper, "What is Expat?" XML.com, Sep. 1999, 19pgs.
  • Feng et al., "Design and Implementation of the Extensible Markup Language Parsar," Journal of Xi'AN Jiaotong University, V36, N8, Aug. 2002, pp. 1, 868-70.
  • Franz et al., An Efficient XML Schema Typing System, Nov. 2003, pp. 1-20.
  • Nelson, "Validation with MSXML and XML Schema," pp. 1-4, Jan. 1, 2002.