Generating automata for validating XML documents, and validating XML documents
AssigneeInternational Business Machines Corporation
InventorsAkihiko Tozawa, Makoto Murata
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsAkihiko Tozawa, Makoto Murata
Estimating the term…
Provides method and systems to simplify processing and improve processing speed for validation of an XML document. In an example embodiment, a non-deterministic automaton is generated by a binary tree automaton generation module from a document type definition described by hedge grammar. Furthermore, a deterministic binary tree automaton is generated by a determination module, and a deterministic binary tree automaton of which transition function δ is minimized by a minimization module is generated. This minimum deterministic binary tree automaton is used to validate an XML document with a validation module. When the XML document is normally accepted by the binary tree automaton, validation results wherein the XML document is reasonable are outputted.
A method comprising generating an automaton for validating an XML document, including:
A method comprising generating an automaton for validating an XML Document, including:
A method comprising validating an XML document by using an automaton represented by an alphabet Σ based on each tag name σ of a document type definition thereof, a state set Q based on a state q, and the transition function δ represented by a single three-dimensional array of which element is a transition state comprised of three indexes of said σ, child element row information qc and sibling element row information qb of said σ, an initial state set I and a set of final states F.
A method comprising validating an XML document by using an automaton represented by an alphabet Σ based on each tag name σ of a document type definition thereof, a state set Q based on a state q, arrays α and η showing a transitional relationship of the states, an initial state set I and a set of final states F, and wherein said arrays α and η are comprised of three indexes of said σ, child element row information qc and sibling element row information qb of said σ, and a single three-dimensional array of which element is a transition state is divided into minimum arrays α and η which make δ[σ, i, j]=α[η[σ, i], j].
A system for generating an automaton for validating an XML document, including:
A system for generating an automaton for validating an XML document, including:
A system for validating an XML document, comprising means for using an automaton represented by an alphabet Σ whose element is each tag name σ of a document type definition thereof, a state set Q whose element is each state q, and the transition function δ represented by a single three-dimensional array which maps triple of said σ, child element state qc and sibling element state qb to a transition state, an initial state set I and a set of final states F.
A system comprising means for validating an XML document by using an automaton represented by an alphabet Σ based on each tag name σ of a document type definition thereof, a state set Q based on a state q, arrays α and η showing a transitional relationship of the states, an initial state set I and a set of final states F, and wherein said arrays α and η are comprised of three indexes of said σ, child element row information qc and sibling element row information qb of said σ, and a single three-dimensional array of which element is a transition state is divided into minimum arrays α and η which make δ[σ, i, j]=α[η[σ, i], j].
A program product comprising means for having a computer execute:
A program product including:
A program product for having a computer execute:
A program product for having a computer execute:
Dependencies are inferred from the claim text.