Extendable and pluggable method for validating xml data
Abstract
A method of validating XML data comprises (a) registering a plurality of validators that are each responsible for validating a certain XML set of rules, (b) creating common XML data structures to be shared between the validators, (c) invoking registered validators and granting access to common XML data structures, and (d) reporting validation results for each of the validators. Two or more validators having similar pattern validation structures may share the common XML data structure of a data builder. Furthermore, the validators may be invoked in the order in which they are registered in step (a) and granted access to the common XML data structures that are built in step (b). In addition, the step of reporting the validation results may include formatting the validation results as error messages generated by each validator and outputting the error messages via an outputter.
Claims
exact text as granted — not AI-modified1 . A method of validating XML data comprising: (a) registering a plurality of validators, wherein each validator that is registered is responsible for validating a certain XML set of rules; (b) creating common XML data structures to be shared between the validators, wherein two or more of the validators having validation rules that evaluate the same set of conditions plug-into and share the common XML data structure of a data builder to eliminate redundancy in the creation of XML data structures and extend a selected XML data structure to multiple validators; (c) invoking registered validators and granting access to common XML data structures, wherein the validators are invoked in the order in which they are registered in step (a) and granted access to the common XML data structures that are built in step (b); and (d) reporting validation results for each of the validators previously registered, wherein the step of reporting the validation results includes formatting the validation results as error messages generated by each validator and outputting the error messages via an outputter.
Join the waitlist — get patent alerts
Track US2010036847A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.