Patent Number: 7,788,654

Title: Method for construction of a linear-sized validation-plan of W3C XML schema grammars

Abstract: A method for constructing a highly optimized linear-sized validation plan, the method comprising: providing a schema having a plurality of schema components; compiling the schema in three stages: a first stage in which the schema is read and modeled in terms of abstract schema components; a second stage in which the schema components are augmented with a set of derived components and properties by (i) synthesizing content models from the plurality of schema components by adding additional components including one or more synthetic content-model components and one or more synthetic elements and one or more synthetic types to the one or more of the plurality of schema components and (ii) computing the derived set of properties on the components; and a third stage in which the schema is traversed in order to generate recursive-descent validation code for each of the plurality of schema components by generating the highly optimized linear-sized validation plan directly from the plurality of schema components.

Inventors: Kostoulas; Margaret Gatatzes (Belmont, MA), Matsa; Moshe E. (Cambridge, MA), Perkins; Eric (Boston, MA)

Assignee: International Business Machines Corporation

International Classification: G06F 9/45 (20060101)

Expiration Date: 8/31/12018