[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Effective use of assertions?

Subject: Re: Effective use of assertions?
From: "Mukul Gandhi mukulg@xxxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 1 May 2022 08:01:25 -0000
Re:  Effective use of assertions?
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.