FormatValidationError (open)

Returns the string for a validation error from an XML (without column number)

Syntax

LOADLIB "mod::system/lib/validation.whlib";

STRING FUNCTION FormatValidationError(RECORD msg)

Parameters

RECORD msg

Message record

INTEGER line

Line number

STRING message

Error message

STRING resourcename

Resource name

Return value

STRING

Formatted error message