On 7/5/07, Jesper Tverskov <jesper(_at_)tverskov(_dot_)dk> wrote:
How much testing is enough?
Well since the stylesheet is more generic I guess if it makes sure
that h2 h4 returns an error then the error checking works.
The David code needs to be improved with more exact error messages,
I guess the error message would be something like:
An <xsl:value-of select="concat('h',$h[current()])"/> cannot be
followed directly by a <xsl:value-of select="concat('h',$h[current() +
1])"/> the rule is -- state the rule here
and we also have the problem of transferring a for-each to Schematron.
I guess we need to make an assertion for each heading level.
yep.
Cheers,
Bryan Rasmussen
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--