Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-threeXBRL Functions (continued)

iXBRLValidate Function

Overview

The iXBRLValidate function runs the application level iXBRL Validator.

Syntax/Parameters

Syntax

int = iXBRLValidate ( handle hMTO | string filename, [dword flags], [handle hLog] );

Parameters

hMTO

A handle to a Mapped Text Object, or,

filename

A string specifying a fully qualified filename.

flags

An optional dword specifying various check flags. This is reserved for future use.

hLog

An optional handle to a Log Object to store the result. If omitted, the default script output log is used. If NULL_HANDLE is specified, a log is not generated. If INVALID_HANDLE_VALUE the default log is used.

Return Value

An int as the number of errors reported or a formatted error code on failure. The extended error message will contain further information on the error.

Remarks

Both errors and fatal errors count as part of the return value. To retrieve warnings and advisories, the log must be examined. 

iXBRL validation does not perform HTML validation.

Progress class is inherited from the script.

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL