CenPC434 / java-tools

Java libraries to support EN 16931
Apache License 2.0
4 stars 5 forks source link

with invalid parameter no error message displayed #1

Closed rikribbers closed 7 years ago

rikribbers commented 7 years ago

➜ target git:(master) java -jar en16931-xml-validator-0.2.0-SNAPSHOT-jar-with-dependencies.jar -xml ~/git/testset/SI-UBL-1.2/SI-UBL-INV-1.2-ok-minimal.xml -xslt ➜ target git:(master) cat log.txt ➜ target git:(master)

Note that in the command the -xslt option is there but no value is provided, minor issue though as it works when a value is provided.

I was expecting a message saying the input is incorrect

phax commented 7 years ago

I improved parameter handling and it should do the trick now. Thanks for pointing this out