Hi Folks,
Please find attached a patch that is much less elegant than the one
Thomas has attached with issue 207.
I have added a couple of unit tests in an attempt to confirm that
things are working as expected.
I have to admit somewhat sheepishly that I'm not currently entirely
sure how to compile a new jar so I can test the CLI util in a terminal
to see if the output is as expected.
Additionally, would there be any benefit to printing out the version
of the checker that has been invoked with the report that goes to
StdOut. Currently the CLI output shouldn't change, it's just that the
printing to console is done in the checker class instead of within the
OCFChecker. The motivation behind this change being that the library
no longer causes a side effect, instead it sets a parameter that can
be retrieved.
I don't normally write a great deal of Java, so any and all criticism
is most welcome.
Best,
Ali Asad
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/epubcheck/-/7dJOxRfw9TAJ.