Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.

General description of the error:

The format of the error message: The version is required in the XML declaration.

Error description in schema standard:

Possible causes for this error:

  • XML declaration is missing version declaration. Version is always mandatory in XML declaration and encoding is mandatory in (almost all) XML payment files. 

Also please note that these are not normal XML attributes and thus they need to presented in correct order, "version" first and "encoding" second. Optionally "standalone" can be used as third.


<?xml encoding="UTF-8"?> 

Error message: Fatal Error VersionInfoRequired : The version is required in the XML declaration.

How to fix: Add the version number in XML declaration.

<?xml version="1.0" encoding="UTF-8"?>