Re: [xsl] Effective use of assertions?

Subject: Re: [xsl] Effective use of assertions?
From: "Mukul Gandhi mukulg@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 1 May 2022 08:01:25 -0000
Just read following section from XSLT 3.0 spec,

That sounds good.

On Fri, Apr 29, 2022 at 8:41 PM Dimitre Novatchev dnovatchev@xxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> In unit testing assertions are used to confirm desired properties of the
> result, not of the input.
> Checking desired properties of the input is called validation. Validation
> can be performed in many ways, including "catch-all" templates.
> Validations and assertions may seem similar, but they have different
> goals. Assertions aren't even executed if the input validation fails.
> Thanks,
> Dimitre

Mukul Gandhi

Current Thread