摘要:
At least one XML document to be validated is parsed, and XML data in the at least one XML document is represented as data objects in at least one data object model in a memory. At least one rule document is parsed and a rule object model that includes rule objects is created in the memory. At least part of the data objects are extracted from the at least one data object model and at least part of rule objects are extracted from the rule object model. Partial validation is performed in a corresponding execution context that validates the extracted at least part of the data objects based upon the extracted at least part of the rule objects.
摘要:
Instance documents related to policy enforcement are gathered according to a business requirement. The instance documents are instantiated from corresponding schema documents. An instantiated context model, including references to the gathered instance documents, is generated from a context model definition. A policy set to be enforced using the instantiated context model is generated according to the gathered instance documents. An enforcement sequence of policies in the policy set is determined. The policies are applied to the instantiated context model according to the enforcement sequence.