On 25. 6. 2026 15:57, Ivan Zhakov wrote:
[...]
Since we now have the always-on XML structural check, I'd say we should pick between two options:

A) Make full schema validation implicit when the modules are available.
B) Have an explicit `--enable-xml-schema-validation` switch to enable it.

I'm fine with either of these approaches. However, the explicit `--enable-xml-schema-validation` approach has a couple of advantages:

- It makes test results, such as error messages, predictable and independent of the environment. - It gives users a way to check whether their environment is suitable for full XML schema validation. If a user passes `--enable-xml-schema-validation` and the modules aren't present, that's an error rather than a downgrade of the check.

That said, I'm also okay with the implicit approach (A) that you described.

Let's go with B and make sure it's enabled in CI.

-- Brane

Reply via email to