[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Why should I put code in XSLT to check the input data or the output data?


Subject: [xsl] Why should I put code in XSLT to check the input data or the output data?
From: "Costello, Roger L." <costello@xxxxxxxxx>
Date: Thu, 20 May 2010 16:59:52 -0400

Hi Folks,

My thinking is that the input data should be checked using XML Schema and
Schematron. Ditto for the data that is output by XSLT.

I see no reason to include in an XSLT program any code to check data. It just
makes the program bigger, harder to understand, harder to maintain, and harder
to debug.

Do you agree?

/Roger


Current Thread
Keywords