Annotated automaton encoding of XML schema for high performance schema validation
Abstract
A method and system for Extensible Markup Language (XML) schema validation, includes: loading an XML document into a runtime validation engine, where the runtime validation engine includes an XML schema validation parser; loading an annotated automaton encoding (AAE) for an XML schema definition into the XML schema validation parser; and validating the XML document against the XML schema definition by the XML schema validation parser utilizing the annotated automaton encoding. Each XML schema definition is compiled once into the AAE format, rather than being compiled each time an XML document is validated, and thus significant time is saved. The code for the runtime validation engine is fixed and does not vary depending on the XML schema definition, rather than varying for each XML schema definition, and thus space overhead is minimized. Flexibility in the validation process is provided without compromising performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 49 · Forward citations: 17.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for validating a markup language document against a markup language schema definition, the method comprising: loading the markup language document into a runtime validation engine, the runtime validation engine comprising a markup language schema validation parser; loading an annotated automaton encoding corresponding to the markup language schema definition into the markup language schema validation parser; and the markup language schema validation parser utilizing the annotated automaton encoding to validate the markup language document against the markup language schema definition
- Claim 2Depends on #1
The method of claim 1 , wherein the markup language comprises an Extensible Markup Language (XML).
- Claim 3Depends on #1
The method of claim 1 , whe
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 17 total)
References Cited — Backward Prior Art (49)
Non-Patent Literature (5)
- Bouchou et al., "Extending Tree Automata to Model XML Validation Under Element and Attribute Constraints," pp. 184-190. Document modified Mar. 23, 2003. Available online.
- Cooper, Clark, "What is Expat?" XML.com, Sep. 1999, 9 pgs.
- Feng, Ding et al., "Design and Implementation of the Extensible Markup Language Parser," Journal of Xi'An Jiaotong University, vol. 36, no. 8, Aug. 2002, p. 1 and 868-870.
- Nelson, Mark, "Validation with MSXML and XML Schema," pp. 1-4.
- Shanmugasundaram et al., "Efficiently Publishing Relational Data as XML Documents," The VLDB Journal 2001, pp. 133-154.