Re: svn commit: r1935586 - in subversion/branches/xml-schema-validation-improvements: . build subversion/tests/cmdline subversion/tests/cmdline/svntest

Branko Čibej <[email protected]>
Newsgroups gmane.comp.version-control.subversion.devel
Organization The Apache Software Foundation
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.