System and method for expressing xml schema validation using java in a declarative manner
AssigneeInternational Business Machines Corporation
InventorWei Zheng
Life of this patent
Estimating the term…
Abstract
A system and method for expressing XML schema validation using Java in a declarative manner is disclosed. In one embodiment of the present invention a method for processing information comprises defining a schema validation using metadata stored in a database and building a memory model using the metadata. Input data for validation is received in a validation engine, which validates the input data by executing a Java program in the validation engine using the input data and the metadata. An output is generated from the validation engine that identifies the input data as being validated or not validated.
Claims20
A method for processing information comprising:
- defining a schema validation using metadata stored in a database;
- building a memory model using said metadata;
- receiving input data for validation in a validation engine;
- validating said input data by executing a Java program in said validation engine using said input data and said metadata;
- and
- generating an output from said validation engine that identifies said input data as being validated or not validated.
A method for validating XML schema comprising:
- expressing a set of complex constraints as declarative metadata;
- storing said declarative metadata in database tables;
- creating a runtime memory model using said declarative metadata;
- and
- validating said XML schema using said declarative metadata in a Java validation engine.
A system for performing schema validation comprising:
- a validation engine running a Java program;
- a metadata structure including database tables defining a set of complex constraints for said schema, said metadata structure being coupled to said validation engine;
- and
- input data receiving component coupled to said validation engine, wherein said validation engine uses said complex constraints in said metadata structure to validate said input data.
A computer program product comprising a computer usable medium having a computer readable program, wherein said computer readable program when executed on a computer causes said computer to:
- define a schema validation using metadata stored in a database;
- build a memory model using said metadata;
- receive input data for validation in a validation engine;
- validate said input data by executing a Java program in said validation engine using said input data and said metadata;
- and
- generate an output from said validation engine that identifies said input data as being validated or not validated.
Dependencies are inferred from the claim text.