System and method for automatically generating XML schema for validating XML input documents
First Claim
1. A method generating XML schema comprising:
- providing an initial XML document that includes raw XML data comprising data items arranged in XML data elements;
analyzing the XML document to identify XML data structures;
generating a data framework that corresponds to the format of the data structures in the XML document;
analyzing the data items from the initial XML document;
determining data constraints based on the data items;
generating an XML schema based on the data framework generated and the data constraints determined from the raw XML data.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques, systems and apparatus for automatically generating schema using an initial documents constructed in an XML compatible format are disclosed. A method involves providing an initial XML document that and analyzing the XML document to identify the XML data structures in the document and generating a data framework that corresponds to the data structure of the XML document. The data items of the initial XML document are analyzed to determine data constraints based on the data items of the initial XML. Schema are then generated based on the data framework generated and the data constraints determined from the raw xml data. These principles can be implemented as software operating on a computer system, as a computer module, as a computer program product and as a series of related devices and products.
215 Citations
20 Claims
-
1. A method generating XML schema comprising:
-
providing an initial XML document that includes raw XML data comprising data items arranged in XML data elements;
analyzing the XML document to identify XML data structures;
generating a data framework that corresponds to the format of the data structures in the XML document;
analyzing the data items from the initial XML document;
determining data constraints based on the data items;
generating an XML schema based on the data framework generated and the data constraints determined from the raw XML data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product embodied on a computer readable media including computer program code for generating XML schema, the computer program product including:
-
computer program code instructions for receiving an initial XML document that that includes raw XML data comprising data items arranged in XML data structures;
computer program code instructions for analyzing the XML document to identify the XML data structures;
computer program code instructions for generating a data framework associated with the format of the data structures in the XML document;
computer program code instructions for analyzing the data items from the initial XML document and determining XML data constraints based on the data items; and
computer program code instructions for generating an XML schema based on the data framework generated and the XML data constraints determined from the data items. - View Dependent Claims (11, 12, 13)
-
-
14. A computer system comprising:
-
at least one central processing unit (CPU), memory, and user interface in combination configured to include;
XML structure analyzer for analyzing a received initial XML document that includes raw XML data comprising data items arranged in XML data elements, wherein said analyzing includes identifying the XML data elements of the initial XML document and generating a data framework associated with a data structure for the XML data elements of the initial XML document;
default constraint generator for analyzing the raw XML data from the initial XML document and determining XML data constraints for data items based on the XML raw data;
data constraint merger for receiving at least one of the XML data constraints from the data constraint generator and a set of externally supplied data constraints and for outputting a final data constraint file; and
XML schema generator for receiving the data structures from the XML structure analyzer and final data constraint file from the data constraint merger and generating an XML schema associated with said data structures and final data constraint file. - View Dependent Claims (15, 16)
-
-
17. A computer module for automatically generating XML schema, the module comprising:
-
XML structure analyzer for analyzing a received initial XML document that includes raw XML data comprising data items arranged in XML data elements, wherein said analyzing includes identifying the XML data elements of the initial XML document and generating a data framework associated with a data structure for the XML data elements of the initial XML document;
default constraint generator for analyzing the raw XML data from the initial XML document and determining XML data constraints for data items based on the XML raw data;
data constraint merger for receiving at least one of the XML data constraints from the data constraint generator and a set of externally supplied data constraints and for outputting a final data constraint file; and
XML schema generator for receiving the data structures from the XML structure analyzer and final data constraint file from the data constraint merger and generating an XML schema associated with said data structures and final data constraint file. - View Dependent Claims (18, 19)
-
-
20. A computer module for automatically generating XML schema, the module comprising:
-
XML structure analyzer for analyzing a received initial XML document that includes raw XML data comprising data items arranged in XML data elements, wherein said analyzing includes identifying the XML data elements of the initial XML document and generating a data framework associated with a data structure for the XML data elements of the initial XML document;
default constraint generator for analyzing the raw XML data from the initial XML document and determining XML data constraints for data items based on the XML raw data; and
XML schema generator for receiving the data structures from the XML structure analyzer and default data constraint file from the default constraint generator and generating therefrom an XML schema associated with said data structures and final data constraint file.
-
Specification