CHANGING DOCUMENTS TO INCLUDE CHANGES MADE TO SCHEMAS
First Claim
1. A method comprising:
- finding an upgrade rule associated with a configuration set, wherein the configuration set comprises a schema and an upgrade transformation, wherein the upgrade transformation specifies a change that was made to the schema;
finding a document associated with the upgrade rule, wherein the document comprises a lifecycle state and an element;
if the upgrade rule indicates an automatic upgrade, finding a mutability rule associated with the lifecycle state of the document and deciding whether the mutability rule allows the document to be changed; and
if the mutability rule allows the document to be changed, changing the element in the document to include the change specified by the upgrade transformation.
2 Assignments
0 Petitions
Accused Products
Abstract
In an embodiment, an upgrade rule associated with a configuration set is found, and a document associated with the upgrade rule is found. The configuration set includes a schema and an upgrade transformation, and the upgrade transformation specifies a change that was made to the schema. The document includes a lifecycle state and an element. If the upgrade rule indicates an automatic upgrade, then a mutability rule associated with the lifecycle state of the document is found and a decision is made whether the mutability rule allows the document to be changed. If the mutability rule allows the document to be changed, the element in the document is changed to include the change specified by the upgrade transformation at a time specified by the upgrade rule. If the mutability rule prevents the document from being changed, a new document is created with an initial lifecycle state, the document is copied to new document, and the element is changed in the new document to include the change specified by the upgrade transformation.
-
Citations
20 Claims
-
1. A method comprising:
-
finding an upgrade rule associated with a configuration set, wherein the configuration set comprises a schema and an upgrade transformation, wherein the upgrade transformation specifies a change that was made to the schema; finding a document associated with the upgrade rule, wherein the document comprises a lifecycle state and an element; if the upgrade rule indicates an automatic upgrade, finding a mutability rule associated with the lifecycle state of the document and deciding whether the mutability rule allows the document to be changed; and if the mutability rule allows the document to be changed, changing the element in the document to include the change specified by the upgrade transformation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A signal-bearing medium encoded with instructions, wherein the instructions when executed comprise:
-
receiving a promote action and an identifier of a configuration set, wherein the configuration set comprises a schema and an upgrade transformation, wherein the upgrade transformation specifies a change that was made to the schema, wherein the schema describes a format of the document; finding a document type definition associated with the configuration set, wherein the document type definition comprises an upgrade rule; finding a document associated with the document type definition, wherein the document comprises a lifecycle state and an element; if the upgrade rule indicates an automatic upgrade, finding a mutability rule associated with the lifecycle state of the document and deciding whether the mutability rule allows the document to be changed; and if the mutability rule allows the document to be changed, changing the element in the document to include the change specified by the upgrade transformation. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method for configuring a computer, comprising:
-
configuring the computer to receive a promote action and an identifier of a configuration set, wherein the configuration set comprises a schema and an upgrade transformation, wherein the upgrade transformation specifies a change that was made to the schema, wherein the schema describes a format of the document; configuring the computer to find a document type definition associated with the configuration set, wherein the document type definition comprises an upgrade rule; configuring the computer to find a document associated with the document type definition, wherein the document comprises a lifecycle state and an element; configuring the computer to, if the upgrade rule indicates an automatic upgrade, find a mutability rule associated with the lifecycle state of the document and decide whether the mutability rule allows the document to be changed; configuring the computer to, if the mutability rule allows the document to be changed, change the element in the document to include the change specified by the upgrade transformation; and configuring the computer to, if the mutability rule prevents the document from being changed, create a new document, copy the document to the new document, and change the element in the new document to include the change specified by the upgrade transformation at a time specified by the upgrade rule, wherein the new document comprises an initial lifecycle state. - View Dependent Claims (17, 18, 19, 20)
-
Specification