Patent ID: 7467149

Claim:
A computer-implemented system that facilitates formally describing structured documents and complex validation rules using extensible markup language schema definitions (XSDs), comprising: an integration engine that parses an incoming structured document and gleans information related to document structure; a schema generation component that constructs an XSD schema based at least in part on structural information related to the document and annotates at least one node of the XSD schema with validation rules to create a value-added XSD (VAX), the validation rules comprise structure rules that validate syntax of XML data generated in accordance with the VAX, the validation rules further include data value rules that validate non-XSD data types and business rules that validate at least co-existence requirements; a validation component that reads annotations in the VAX at run time to validate document structure, business rules and data values during translation of the document from a structured format to an XML format, the validation component includes a validation handler component that reads validation handlers in the annotations to validate document structure, business rules and data values, the validation handler component comprises one or more predefined validation routines stored in a library and called as directed by a read annotation; and a processor coupled to a memory.