×

System and method for validating an XML document and reporting schema violations

  • US 7,373,595 B2
  • Filed: 06/27/2002
  • Issued: 05/13/2008
  • Est. Priority Date: 06/27/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for validation and reporting of schema violations for an extensible markup language (XML) document, wherein the XML document includes native XML elements and non-native XML elements, the method comprising:

  • locating a change to a non-native XML element within the XML document;

    marking a portion of the XML document to signify that the change has occurred with relation to that portion of the XML document;

    marking a node within a parallel tree associated with the changed non-native XML to signify that the change has occurred, wherein the node corresponds to the portion of the XML document where the change has occurred, and wherein the parallel tree selectively includes the node corresponding to the changed non-native XML element and excludes at least one node corresponding to at least one of the native XML elements, wherein the at least one of the native XML elements is associated with a corresponding native XML schema and the changed non-native XML element is associated with a corresponding non-native XML schema;

    validating the node of the parallel tree against the corresponding non-native XML schema such that the portion of the XML document where the change to the non-native XML element within the XML document occurred is validated;

    determining if an error in the changed non-native XML element exists from error data supplied in response to validating the node; and

    displaying an error notification within the XML document and the parallel tree if the error occurred.

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