Validation against a specific ODF versions

Regina Henschel rb.henschel at t-online.de
Wed Oct 16 15:52:31 UTC 2024


Hi all,

Problem: Method test::BootstrapFixture::validate() validates against a 
fixed version, currently against 'OpenDocument-v1.4+libreoffice'.

That means, that some tests, that currently use a construct like
SetODFDefaultVersion(SvtSaveOptions::ODFVER_013_EXTENDED);
    save(...)
or
    saveAndReload(...)
will fail, because ODF 1.3 is written but test is against ODF 1.4.

We can modify such tests so that the validation is skipped by using 
skipValidation(true). But this is unsatisfactory because it weakens the 
tests.

Is it nevertheless acceptable to modify all these tests?

Any other ideas?

Kind regards,
Regina






More information about the LibreOffice mailing list