System and method for future-proofing devices using metaschema
First Claim
1. A method for performing schema-validation of a document, said method comprising the steps of:
- defining a schema;
defining a set of constraining rules associated with said schema, said set of constraining rules identifying at least one valid change for at least one of an attribute and an element of said schema;
parsing said document using a rule-based parser associated with said set of constraining rules; and
determining a similarity score for said document with respect to said schema, based on said parsing.
1 Assignment
0 Petitions
Accused Products
Abstract
Disclosed are arrangements which seek to update schemas in a controlled manner so that a device (3710) or service can accurately parse documents conforming to a new version of a schema (3724, 3734) without the need for translation services or extra information within the document to provide guides for translation. One embodiment provides a “best-effort” attempt to process documents of an unknown schema, based on a defined similarity threshold, instead of rejecting such documents as being invalid. The arrangements disclosed seek to provide a satisfactory output from an input document that conforms with an unexpected schema. A method for constraining evolution of a schema associated with a markup language includes the steps of defining the schema and defining a metaschema associated with the schema. The metaschema provides rules for valid changes to the schema.
-
Citations
24 Claims
-
1. A method for performing schema-validation of a document, said method comprising the steps of:
-
defining a schema;
defining a set of constraining rules associated with said schema, said set of constraining rules identifying at least one valid change for at least one of an attribute and an element of said schema;
parsing said document using a rule-based parser associated with said set of constraining rules; and
determining a similarity score for said document with respect to said schema, based on said parsing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 21, 22, 23, 24)
-
-
11. A device for performing schema validation of a document, said device comprising:
-
a rule-based parser for parsing said document, said rule-based parser being associated with a set of constraining rules associated with a defined schema, said set of constraining rules identifying at least one valid change for at least one of an attribute and an element of said schema; and
means for determining a similarity score for said document with respect to said schema, based on said parsing.
-
-
12. A computer program product having a computer readable medium having a computer program recorded therein for performing schema-validation of a document, said computer program product comprising:
-
computer program code means for defining a schema;
computer program code means for defining a set of constraining rules associated with said schema, said set of constraining rules identifying at least one valid change for at least one of an attribute and an element of said schema;
computer program code means for parsing said document using a rule-based parser associated with said set of constraining rules; and
computer program code means for determining a similarity score for said document with respect to said schema, based on said parsing.
-
-
13. A method for constraining evolution of a schema associated with a markup language, said method comprising the steps of:
-
providing said schema; and
defining a metaschema associated with said schema, said metaschema providing rules for valid changes to said schema. - View Dependent Claims (14, 15, 16)
-
-
17. A method of performing schema validation on one or more documents, said method comprising the steps of:
-
defining a schema theme;
providing at least one markup language schema associated with said schema theme;
defining a set of rules associated with said schema theme, said set of rules establishing how each said schema relates to said schema theme;
parsing each said document using a parser associated with said set of rules; and
determining a similarity score for each said document with respect to said schema based on said parsing. - View Dependent Claims (18)
-
-
19. A computer program product having a computer readable medium having a computer program recorded therein for validating documents, said computer program product comprising:
-
computer program code means for defining a schema theme;
computer program code means for providing at least one markup language schema associated with said schema theme;
computer program code means for defining a set of rules associated with said schema, said set of rules establishing how said schema relates to each said schema theme;
computer program code means for parsing said document using a rule-based parser conformant with said schema and associated with said set of rules; and
computer program code means for determining a similarity score for said document with respect to said schema for at least one of said schema themes, based on said parsing.
-
Specification