发明名称 System and method for automatically generating XML schema for validating XML input documents
摘要 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.
申请公布号 US9286275(B2) 申请公布日期 2016.03.15
申请号 US200410925350 申请日期 2004.08.23
申请人 Oracle America, Inc. 发明人 Khan Ayub S.
分类号 G06F17/00;G06F17/22;G06F17/30;G06F17/27 主分类号 G06F17/00
代理机构 Polsinelli PC 代理人 Polsinelli PC
主权项 1. A method for generating XML schema comprising: providing an initial XML document that includes raw XML data comprising data items arranged in XML data elements; analyzing a structure of a portion of the XML data elements in the initial XML document; generating a data framework that defines a pattern of empty XML data elements based on the structure of the portion of analyzed XML data elements, the XML data elements configured in an arrangement analogous to the initial 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; and changing at least one data type for the XML schema.
地址 Redwood City CA US