Just read following section from XSLT 3.0 spec,
https://www.w3.org/TR/xslt-30/#diagnostics
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
>
--
Regards,
Mukul Gandhi
|