Skip to content

Remove some redundant info from validation report

Ben Martin requested to merge monkeyiq/odfserver:validatorhush5 into master

This introduces a blacklist for lines which should be ignored. At the moment, lines with full line and column information are not impacted by the blacklist.

I also expanded the validator to have a main() which may be undesirable. The upside of having that is that the output for a specific file can be quickly checked without using the server at all. For example;

java -cp odffactories.jar org.odfserver.factories.OdfValidatorFactory
/tmp/twopage.odt 1.2ext | xmllint --format -

1.0, 1.1, 1.2, and 1.2ext work to select desired ODF version so you can force some cruft by validating a 1.2ext file against a 1.2 check.

Merge request reports