BankLint

Rule reference · XML well-formedness · XML well-formedness

BNK-XML-001: File is not well-formed XML

The file is not well-formed XML (or is empty), so it cannot be processed as an ISO 20022 message.

SeverityBLOCKER Blocker: the run fails
Applies toEvery uploaded file
SourceW3C XML 1.0 well-formedness

Why it matters

Banks reject files that are not well-formed XML.

How to fix it

Check the export step that produces the file for truncation, encoding or tag errors.

Try it with a synthetic example

These files are synthetic test data from BankLint's test corpus. Download one, or validate it directly.

Validate a pain.001 fileFree, no account needed, files are not stored.