Stream: conformance
Topic: java validator exceptions
Patrick Werner (Feb 14 2021 at 12:33):
Currently the java validator throws StackTraces when a non resource file is inside the folder which should be validated.
Patrick Werner (Feb 14 2021 at 12:35):
e.g.: .Ds_Store, .gitignore, Readme.md crashes the validator. What do you think about restricting this to *.json, *.xml, *.rdf only?
Morten Ernebjerg (Feb 15 2021 at 06:30):
I would absolutely second that. This has been a pain point for me - I use scripts the create directories and run the validator on them, and my Mac automatically puts a .DS_Store file in such new directories, meaning that I have to write extra logic to clean them out before validating to avoid a crash.
Grahame Grieve (Feb 24 2021 at 02:43):
well, it shouldn't crash, whatever
Grahame Grieve (Feb 24 2021 at 02:43):
but there are other extensions that people use.
Grahame Grieve (Feb 24 2021 at 02:44):
.fhir .map .txt at least
Jens Villadsen (Feb 25 2021 at 18:45):
Make a sane default and let it be configurable then
Last updated: Apr 12 2022 at 19:14 UTC