Schema requirements

Schemas can be complex and may import or include other schemas. If you use complex schemas in your mapping, the schemas must meet the listed criteria for the Mapper to correctly import all the relevant schemas into the Mapping project. If the schemas do not meet the criteria, you must edit the schemas before you use them. See Editing schemas.

Refer to these criteria in using complex schemas:

  • All referenced schemas must be present on disk.

    References to non-local schemas are not valid, for example, http://som/url/somewhere/aschema.xsd.

  • All references must be relative to the folder with the root schema.

    For example:

    • Root schema A.xsd; Import schema B.xsd, and C.xsd

    • Location sub-folders FB and FC to folder A.

    The reference paths must be /FB/B.xsd and /FC/C.xsd respectively.

    Relative paths against the root schema location are also valid, for example if schema A, B, and C are located in this structure then, B may import C as "../SUBFOLDER_C/C.xsd" :

    MY_FOLDER/A.xsd

    MY_FOLDER/SUB_FOLDER_B/B.xsd

    MY_FOLDER/SUB_FOLDER_C/C.xsd