INI File

By using the -i command line parameter, you can specify the path and filename of an INI file for Validation Highlighter.

If you omit -i from the command line, an attempt is made to load a default INI file named ValidationHighlighter.ini. On Windows this will be loaded from the same directory where ValidationHighlighter.exe was executed (Instream’s Bin directory by default). On UNIX, this file will be loaded from the path specified in the FSINSTREAMINI environment variable. If ValidationHighlighter.ini is not found, internal defaults are used.

This file contains configuration information that can be overridden by command line parameters. The comments in the file explain each option. The [Options] section at the bottom contains settings.

Option

Explanation

csspath=../

The css file is one directory from the HTML file.

liblinkpath=../LibraryLinks/

The library links are up one directory from the HTML report and in a directory called LibraryLinks. If the HTML is in C:\Foresight\Output, then the LibraryLinks directory will be C:\Foresight\LibraryLinks:

severity=0

If set to 0, all EDI segments show along with any related messages. Otherwise, the severity specified means that any errors of that severity or greater will show, along with their accompanying EDI segments. Segments with no messages will not appear in the HTML report.

Severities include:

1    Informational

2    Warning

3    Error

4    Fatal

5    User 1

6    User 2

showenv=0

If set to 0, envelope segments only appear if the severity setting causes them to appear. If set to 1, enveloping segments always appear.

The command line parameter showenv overrides this setting in the INI file.

fragmentmode=0

If set to 0, output is in fragment mode.

If set to 1, output is a complete HTML file.

The command line parameter -f overrides this setting in the INI file.