×

Validation of XML data files

  • US 7,296,017 B2
  • Filed: 11/25/2003
  • Issued: 11/13/2007
  • Est. Priority Date: 03/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. One or more computer-readable storage media comprising computer-executable instructions that perform the following when executed by a computer:

  • read an extensible markup language (XML) element containing a first attribute, a second attribute, and a third attribute, wherein the first attribute indicates a match pattern;

    parse the first attribute into a first XPath expression;

    find nodes in an XML data file that match the match pattern by evaluating the nodes of the XML data file against the first XPath expression;

    parse the second attribute into a second XPath expression, wherein the second attribute specifies an expression context relative to each of the matching nodes;

    obtain a set of nodes from the matching nodes that define the expression context for each of the matching nodes by evaluating the matching nodes against the second XPath expression;

    parse the third attribute into a third XPath expression, wherein the third attribute specifies a Boolean expression condition;

    determine if each node of the set of nodes violates the third XPath expression by evaluating each node of the set of nodes against the third XPath expression;

    associate each node of the set of nodes that violates the third XPath expression with an error message; and

    display the error message for each node associated with the error message.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×