US 7,587,415 B2
Single-pass translation of flat-file documents into XML format including validation, ambiguity resolution, and acknowledgement generation
Suraj Gaurav, Issaquah, Wash. (US); Mathrubootham Janakiraman, Redmond, Wash. (US); and Surendra Machiraju, Redmond, Wash. (US)
Assigned to Microsoft Corporation, Redmond, Wash. (US)
Filed on Mar. 14, 2005, as Appl. No. 11/79,424.
Prior Publication US 2006/0206523 A1, Sep. 14, 2006
Int. Cl. G06F 7/00 (2006.01)
U.S. Cl. 707—103Y 16 Claims
OG exemplary drawing
 
1. An computer-implemented system that facilitates converting structured documents to XML format; comprising a processor executing the following components stored in computer readable storage media:
an integration engine that receives a structured document and translates the document to XML format;
a parser component that parses the structured document according to delimiter information associated with the structured document;
a schema generation component that configures an XML schema definition (XSD) from a delimited flat-file HL 7 (Health Level 7) message based at least in part on delimiter information of the message by the parsing component and adds validation annotations to the XSD to generate a value-added XSD (VAX), the validation annotations are associated with declarative validation rules with regard to respective nodes in an XSD;
a validation component that validates the message at run time, the validation is performed by reading declarative rules and extracting data related to specific node associated with the annotation; and
an acknowledgement generation component that generates an acknowledgement related to each of message receipt and message validation and transmits the acknowledgement to a source application over a socket connect over which the message was transmitted from the source application.