Patent Document ID: 8554789
Application ID: 11246001

Base Claim:
1. A method, comprising a database server registering a XML schema, wherein registering the XML schema includes: traversing a declaration of a first element that comprises a second element; while traversing said declaration of said first element: tracking on a stack a declaration of an element or a type encountered during said traversing; encountering said second element; and determining that said second element belongs to a type within a hierarchy of inheritance of a certain type of said first element by at least determining that said first element is on the stack; and in response to determining that said second element belongs to a type within a hierarchy of inheritance of a certain type of the first element, performing: determining that said XML schema defines a cyclic construct; determining a database representation capable of storing instances of said XML schema that contain said cyclic construct; and generating a mapping between constructs of said XML schema and said database representation.

---

Claim 3:
3. The method of claim 1 , wherein: determining that said XML schema defines a cyclic construct includes detecting that an ascendant element and a descendant element that descends from the ascendant element are involved in said cyclic construct; the database representation includes an out-of-line table for storing said ascendant element; and generating a mapping includes generating a mapping that maps said ascendant element to said out-of-line table.