发明名称 Multi-pass validation of extensible markup language (XML) documents
摘要 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.
申请公布号 US8875013(B2) 申请公布日期 2014.10.28
申请号 US200812054692 申请日期 2008.03.25
申请人 International Business Machines Corporation 发明人 Fetzer Stephanie A.
分类号 G06F17/27;G06F17/00;G06F17/22 主分类号 G06F17/27
代理机构 Patents on Demand P.A. 代理人 Patents on Demand P.A. ;Buchheit Brian K.;Garrett Scott M.
主权项 1. A method for validating XML documents comprising: determining a set of preprocessing parameters from an XML document, wherein responsive to any missing preprocessing parameter in the set of preprocessing parameters, determining the XML document to be invalid, wherein a result of determining that the XML document is invalid causes a ceasing of activities related to validation, wherein the preprocessing parameters represent at least one of data tags and values within the XML document, and wherein the preprocessing parameters represent at least one of data tags and values within the XML document; upon determining the set of preprocessing parameters, identifying a validation sequence from a plurality of validation sequences for the XML document based on the set of preprocessing parameters, wherein each of the validation sequence comprises a unique order of execution for series of validation passes to validate the XML document, wherein said validation sequence comprises a plurality of validation elements, wherein each validation pass corresponds to one of the validation elements, wherein each of the validation element represents a type of governance for validating the XML document, wherein each validation pass is configured to validate the XML document for at least one condition defined by the validation element; and perform a multi-pass validation associated with the validation sequence on the XML document; and producing a validation element result for each performed validation pass.
地址 Armonk NY US