[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|