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.
| Severity | BLOCKER Blocker: the run fails |
|---|---|
| Applies to | Every uploaded file |
| Source | W3C 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.
- Invalid UTF-8 byte in a UTF-8 file → not well-formed → FAIL. FAIL · Download · Validate it
- Mismatched closing tag → FAIL. FAIL · Download · Validate it
- File truncated mid-way → not well-formed → FAIL. FAIL · Download · Validate it
Validate a pain.001 fileFree, no account needed, files are not stored.