Flexible handling of datetime XML datatype in a database system
First Claim
1. A method for managing XML data in a database system, comprising the steps of a database server receiving a XML schema;
- wherein said XML schema includes;
a certain declaration of a XML date-time type, and a certain annotation associated with said certain declaration, said certain annotation specifying an aspect of a database representation of said XML date-time type;
based on the XML schema, said database server determining a database representation for storing, within said database system, documents that conform to an XML schema;
wherein said database server determining a database representation includes said database server determining, based on the certain annotation, a certain database representation for said declaration of said XML date-time type; and
said database server generating mapping data that indicates correlations between said declaration of the XML date-time and said certain database representation.
1 Assignment
0 Petitions
Accused Products
Abstract
A database server registers an XML schema and determines a database representation for the XML schema and mapping information, determining what database types should be used to represent an XML schema and/or how instances of the XML schema are stored by a database system. The mapping information indicates the mapping between the constructs declared in the XML schema and the constructs included in the appropriate database representation. The XML schema may contain annotations that describe one or more properties of a database representation of an XML date-time type. Based on the annotations, the database determines an appropriate database representation and generates mapping information mapping the declaration of the XML date-time type of the XML schema to the constructs of the database representation.
-
Citations
20 Claims
-
1. A method for managing XML data in a database system, comprising the steps of
a database server receiving a XML schema; -
wherein said XML schema includes;
a certain declaration of a XML date-time type, and a certain annotation associated with said certain declaration, said certain annotation specifying an aspect of a database representation of said XML date-time type;
based on the XML schema, said database server determining a database representation for storing, within said database system, documents that conform to an XML schema;
wherein said database server determining a database representation includes said database server determining, based on the certain annotation, a certain database representation for said declaration of said XML date-time type; and
said database server generating mapping data that indicates correlations between said declaration of the XML date-time and said certain database representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
Specification