Method and system for probability-based validation of extensible markup language documents
First Claim
Patent Images
1. A method [FIG. 5] for validating code in a mark-up language document, the method comprising:
- providing a schema;
providing an instance document;
comparing the instance document to the schema;
determining if the instance document contains an error section based upon the comparing step;
if there is an error, determining if there are a plurality of logical sections of the schema possibly related to the error section; and
determining a probability value for each of the plurality of logical sections that indicates a relationship between the error section and a respective logical section.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method are disclosed to that use a probability-based validation method that looks ahead/back when an incorrect XML tag is found instead of notifying a user about the error immediately. The system and method can provide probability-based values that can be used to point out error locations in a chunk of XML code and indicate most likely error location(s) using probability values.
8 Citations
21 Claims
-
1. A method [FIG. 5] for validating code in a mark-up language document, the method comprising:
-
providing a schema;
providing an instance document;
comparing the instance document to the schema;
determining if the instance document contains an error section based upon the comparing step;
if there is an error, determining if there are a plurality of logical sections of the schema possibly related to the error section; and
determining a probability value for each of the plurality of logical sections that indicates a relationship between the error section and a respective logical section. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer readable medium [see
FIG. 5 ] storing a computer program comprising:-
computer readable for providing a schema;
computer readable for providing an instance document;
computer readable for comparing the instance document to the schema;
computer readable for determining if the instance document contains an error section based upon the comparing step;
computer readable for if there is an error, determining if there are a plurality of logical sections of the schema possibly related to the error section; and
computer readable for determining a probability value for each of the plurality of logical sections that indicates a relationship between the error section and a respective logical section. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A device [see
FIG. 5 ] for validating code in a mark-up language document, the device comprising:-
an interface for receiving a schema and an instance document;
a memory; and
a processor coupled to the interface and the memory, wherein the processor is arranged execute code stored in the memory to validate the instance document against the schema, determine if the instance document contains an error section based upon the comparison, if there is an error, determine if there are a plurality of logical sections of the schema possibly related to the error section, and determine a probability value for each of the plurality of logical sections that indicates a relationship between the error section and a respective logical section. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification