itplr-kosit / validator

Validates XML documents with XML Schema and Schematron
Apache License 2.0
80 stars 42 forks source link

ValidationTool 1.5.0 Fails with "java.lang.IllegalArgumentException: No repository location for scenario definition 'default_1'" #120

Open horstoeko opened 1 year ago

horstoeko commented 1 year ago

Hi,

after moving from 1.4.0 to 1.5.0 I get an error when calling the validator

java.lang.IllegalArgumentException: No repository location for scenario definition 'default_1'

I call the validator in this form

java -jar "./validationtool-1.5.0-standalone.jar" -s "./scenarios.xml" "./xrechnung.xml"

Do you have any idea what this could be?

Regards.

msccip commented 1 year ago

Hi, with 1.5.0 you have to specify the -r(epository) option with the path where the validation files are stored. s. auch #112

horstoeko commented 1 year ago

Hi,

much thanks for your help. I tried that and it fixed by "problem".

Regards