Validate XML against ISO PAIN schemas.
- Shell 93.1%
- Dockerfile 6.9%
| data | ||
| Containerfile | ||
| entrypoint.sh | ||
| feel-the-pain.svg | ||
| LICENSE | ||
| readme.md | ||
Validate XML against ISO PAIN or CAMT schemas.
A OCI container to check whether XML fits to a SEPA standard.
Supports SEPA Lastschrift, SEPA Überweisung, SEPA Status von Zahlungen, Gutschrifts-/Lastschriftsanzeige, Kontoauszug, Kontoreport.
Run
# download
docker image pull code.netztechniker.at/ludwig/feel-the-pain:latest
# run
docker container run \
--rm \
--interactive \
code.netztechniker.at/ludwig/feel-the-pain:latest \
your-desired-standard \
<file-to-validate.xml
# or the short variant (with example standard ISO PAIN 001.001.09 austrian version 05)
docker run --rm -i code.netztechniker.at/ludwig/feel-the-pain:latest pain.001.001.09-austrian-005 <file-to-validate.xml
# to show available standards, run without args
docker run --rm -it code.netztechniker.at/ludwig/feel-the-pain:latest
Supported standards
Allowed arguments for the standard are:
pain.001.001.09-austrian-005(Lastschrift)pain.001.001.09(Lastschrift, european core without austrian restrictions)pain.008.001.08-austrian-004(Überweisung)pain.008.001.08(Überweisung, european core without austrian restrictions)pain.002.001.10-austrian-004(Status von Zahlungen)pain.002.001.10(Status von Zahlungen, european core without austrian restrictions)camt.052.001.08-austrian-04(Kontoreport)camt.052.001.08(Kontoreport, european core without austrian restrictions)camt.053.001.08-austrian-04(Kontoauszug)camt.053.001.08(Kontoauszug, european core without austrian restrictions)camt.054.001.08-austrian-04(Gutschrifts-/Lastschriftsanzeige)camt.054.001.08(Gutschrifts-/Lastschriftsanzeige, european core without austrian restrictions)
Known Issues
- error report format is unspecified and not optimal
Acknowledgements
The XML functionality is based on Apache Xerces2 Java XML Parser. The wrapper code is mostly copied from innodatalabs/xsd-validator. The XML schemas are copied from Payment Services Austria.