If configured to validate, QuickFIX/Go will validate and reject any poorly formed messages before they can reach your application. XML files define what messages, fields, and values a session supports.
Several standard files are in included in the spec/
directory.
The skeleton of a definition file looks like this.
The validator will not reject conditionally required fields because the rules for them are not clearly defined. Returning a MessageRejectError
from an Application's FromApp
or FromAdmin
methods will cause a message to be rejected.