Please enable JavaScript to view this site.

Altova SchemaAgent 2020

If a file contains a reference to another file that cannot be found at the specified location—a so-called ghost file—, an error ic_error icon appears in the top left of its title bar. The ghost file is indicated by the ghost ic_ghost icon in its title bar. In the screenshot below, ipo.xsd has an Include statement that points to the schema address.xsd, which cannot be located at the location specified in the Include statement. In this case, address.xsd is the ghost schema file. All files that reference address.xsd in an IIR statement are marked with the error ic_error icon, both in their schema boxes as well as in the Explorer pane (see screenshot).

app_ghost-schema

An XML instance is also marked and treated as ghost file if  it cannot be found at the location specified in the MFD file(s) by which it is written.

app_ghost-xml

A schema can be a ghost schema for any of several reasons. The most common are:

 

The schema is not physically present at the specified location for any of several reasons. For example, it might have been moved.

The schema cannot be loaded because the web server or network node is unavailable.

 

Note that ghost files are displayed in the Explorer and Design windows (even though they are not at the location specified in the reference). In the design, the connector line between the ghost file and its target schema is also displayed.

 

If you encounter incorrect references and ghost files, there are two possible ways to deal with the problem:

 

Correcting the path to the reference

Recreating the ghost file

© 2019 Altova GmbH