ZUGFeRD/ZUV

ReturnCode 255

JoeyL-pf opened this issue · 2 comments

I don't know why I get returncode "255". Status is "valid"

`root@VM1:/opt/mydir/errors/gcnqe9ecmg6wkwuzwcz3bsaqaxupqctrknx9t1h7# /opt/system/jdkcorretto-8.212.04.2/jre/bin/java -jar ../../bin/ZUV-0.8.3.jar --action validate -f in.xml
2urn:cen.eu:en16931:20178308528

2urn:cen.eu:en16931:20178308528

root@VM1:/opt/mydir/errors/gcnqe9ecmg6wkwuzwcz3bsaqaxupqctrknx9t1h7# echo $?
255`

Am I making a mistake?

in.txt

no your file seems to be valid and the exit code should be 0, it's probably wrong in the software, thanks for the report

the complete validity was determined by XML AND PDF validity, which was incorrect in case there was no PDF. I patched it, it will be fixed with the next release.