×

SYSTEM FOR VALIDATING A DOCUMENT CONFORMING TO A FIRST SCHEMA WITH RESPECT TO A SECOND SCHEMA

  • US 20090063952A1
  • Filed: 03/26/2008
  • Published: 03/05/2009
  • Est. Priority Date: 09/12/2003
  • Status: Active Grant
First Claim
Patent Images

1. An information processing system for determining compliance between a source document structured in accordance with a source schema and a target schema, the system comprising:

  • data storage;

    a processor configured for executing software code, the software code, when executed, enabling the processor to;

    create a source schema description and a target schema description;

    receive the source document, wherein the source document comprises an ordered tree structure with labeled elements, said ordered true structure comprising a subtree, wherein said subtree is a portion of the source document following a hierarchical structure wherein a topmost element conforms to a parent in a parent-child relationship;

    identify all corresponding element types in the source and target schemas for grouping the corresponding element types into element type pairs, wherein the element type is an indication of the content of an element, and wherein the element type further comprises an element tag name for XML schema if the source schema is XML schema;

    classify each element type pair, according to their relationship, into one of a group consisting of;

    matching, disjointed, and intersecting;

    confirm compliance of the source document if it is determined that all element type pairs corresponding to root elements of the source document are classified as matching; and

    confirm non-compliance of the source document according to the target schema if it is determined that at least one element type pair corresponding to a root element of the source document is classified as disjointed; and

    the processor is further enabled to;

    if it is determined that the topmost element type pair are classified as intersecting, perform steps of;

    identify a current child element pair of the topmost element type pair from the subtree, wherein the current child element pair comprises an element type pair from the source schema and an element type pair from the target schema;

    classify the current child element pair into one of a group consisting of;

    matching, disjointed, and intersecting;

    confirm non-compliance of the source document if the current child element pair is classified as disjointed;

    process a next child element pair from the subtree if the current child element pair is classified as matching; and

    identify the next child element pair from the subtree as the topmost element pair if the next child element pair does not belong to a same parent node as the current child element pair.

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