manuelbl / SwissQRBill.NET

.NET library for Swiss QR bill payment slips (aka QR-Rechnung)
MIT License
87 stars 33 forks source link

Less stringent checks of QR bill data #1

Closed manuelbl closed 4 years ago

manuelbl commented 4 years ago

User Werni werner....@... sends the following message to the owners of Package 'Codecrete.SwissQRBill.Generator 2.0.0'.

Hallo Manuel

Wenn das QR-File eine leere Zeile zu viel enthält so wird eine Exception geworfen. Das PDF wurde nicht von uns generiert und ich weiss das es nicht korrekt ist. Wäre gut wenn in diesem Fall die Zeile einfach ignoriert wird und keine Exception geworfen wird.

Meldung: ValidationException QR bill data is invalid: Message: qrTextLocalized error message: Valid data structure starts with SPC and consists 32 to 34 lines of text.

Danke und Gruss Werner

manuelbl commented 4 years ago

Release 2.1 silently ignores trailing line feeds (even though they are not allowed according to the specification).