×

System and method for real-time validation of structured data files

  • US 7,865,477 B2
  • Filed: 10/15/2007
  • Issued: 01/04/2011
  • Est. Priority Date: 03/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method comprising:

  • in real-time during display of first and second data entry fields associated with first and second nodes of an (eXtensible Markup Language) XML data file, respectively, and responsive to a determination that first data entered into the first data-entry field associated with the first node of the XML data file is invalid, the determination made without validating all of the XML data file, and prior to second data being enabled to be entered into the second data-entry field associated with a second node of the XML data file;

    determining that the first node of the XML data file is associated with an XML element;

    reading, from the XML element, an error-type attribute, the error-type attribute indicating whether or not the first data being invalid is a modal type of error or a modeless type of error, the modal type of error being one in which the first data violates a schema governing the XML data file, the modeless type of error being one in which the first data does not violate the schema;

    responsive to reading that the first data being invalid is the modal type of error;

    rolling back the first data in the first node;

    reading an error message from an error message attribute of the XML element; and

    displaying the error message, orresponsive to reading that the first data being invalid is the modeless type of error;

    reading the error message from the error message attribute of the XML element; and

    displaying the error message.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×