MULTI-PASS VALIDATION OF EXTENSIBLE MARKUP LANGUAGE (XML) DOCUMENTS
First Claim
1. A method for validating XML documents comprising:
- identifying a validation sequence for an XML document, wherein said validation sequence comprises a plurality of validation elements;
performing at least one validation pass for the XML document, wherein each validation pass corresponds to one of the validation elements, and wherein each validation pass is configured to validate the XML document for at least one condition defined by the validation element; and
producing a validation element result for each performed validation pass, wherein a validation element result that indicates the XML document is invalid causes a ceasing of activities related to unprocessed ones of the validation elements in the validation sequence, wherein a validation element result that indicates the XML document is valid causes a validation pass to be performed for another one of the validation elements unless each validation element in the validation sequence has been processed, wherein a successful validation of the XML document requires a performance of a successful execution pass for each of the plurality the validation elements.
1 Assignment
0 Petitions
Accused Products
Abstract
A validation sequence for an XML document can be identified. The validation sequence can include a set of validation elements. At least one validation pass can be performed for the XML document. Each validation pass can correspond to one of the validation elements. Each validation pass can be configured to validate the XML document for at least one condition defined by the validation element. A validation element result can be produced for each performed validation pass. A validation element result that indicates the XML document is invalid can cause an immediate ending of activities related to the validation sequence, which determines the XML document in general to be invalid. A validation element result that indicates the XML document is valid causes a validation pass to be performed for another one of the validation elements unless each validation element in the validation sequence has been processed. A successful validation of the XML document requires a performance of a successful execution pass for each of the plurality the validation elements.
-
Citations
20 Claims
-
1. A method for validating XML documents comprising:
-
identifying a validation sequence for an XML document, wherein said validation sequence comprises a plurality of validation elements; performing at least one validation pass for the XML document, wherein each validation pass corresponds to one of the validation elements, and wherein each validation pass is configured to validate the XML document for at least one condition defined by the validation element; and producing a validation element result for each performed validation pass, wherein a validation element result that indicates the XML document is invalid causes a ceasing of activities related to unprocessed ones of the validation elements in the validation sequence, wherein a validation element result that indicates the XML document is valid causes a validation pass to be performed for another one of the validation elements unless each validation element in the validation sequence has been processed, wherein a successful validation of the XML document requires a performance of a successful execution pass for each of the plurality the validation elements. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for validating XML documents, the computer program product comprising:
-
a computer usable medium having computer usable program code embodied therewith, the computer usable program code comprising; computer usable program code configured to identify a validation sequence for an XML document, wherein said validation sequence comprises a plurality of validation elements; computer usable program code configured to perform at least one validation pass for the XML document, wherein each validation pass corresponds to one of the validation elements, and wherein each validation pass is configured to validate the XML document for at least one condition defined by the validation element; and computer usable program code configured to produce a validation element result for each performed validation pass, wherein a validation element result that indicates the XML document is invalid causes a ceasing of activities related to unprocessed ones of the validation elements in the validation sequence, wherein a validation element result that indicates the XML document is valid causes a validation pass to be performed for another one of the validation elements unless each validation element in the validation sequence has been processed, wherein a successful validation of the XML document requires a performance of a successful execution pass for each of the plurality the validation elements.
-
-
11. A method that utilizes a multi-pass technique to validate extensible markup language (XML) documents comprising:
-
receiving an XML document containing a plurality of data items, wherein the plurality of data items are arranged in a predetermined format for an exchange of data; determining a validation sequence for the XML document from a plurality of different validation sequences, wherein the validation sequence comprises a plurality of validation elements that each defines acceptable data items for at least one of the predetermined format and for the exchange of data; executing the validation sequence upon the XML document, wherein during execution an execution pass for each validation element is executed in order; when a failure of a specific validation element occurs during an execution of the validation sequence, immediately terminating the execution of the validation sequence and determining the XML document to be invalid; when each validation element has been processed and determined to be valid, determining the XML document to be valid; and conveying message detailing validation results for the XML document to an originating party of the XML document. - View Dependent Claims (12, 13, 14, 15, 19, 20)
-
-
16. A system utilizing a multi-pass technique to optimize the validation of extensible markup language (XML) documents comprising:
-
an XML document containing a plurality of data items, wherein the plurality of data items are arranged in a predetermined format for an exchange of data; a multi-pass XML validator configured to validate the XML document utilizing a validation sequence, wherein the validation sequence contains an order of execution for a plurality of validation element; and at least one document evaluator configured to execute the validation sequence upon the XML document as directed by the multi-pass XML validator. - View Dependent Claims (17, 18)
-
Specification