On Thu, 16 Oct 2014 10:56:11 +0200
Thomas Schraitle <tom_s...@web.de> wrote:

> Hi,
> 
> when developing customizations for the DocBook stylesheets I have
> always the feeling I forget something important and work without any
> "safey net". ;)
> As such, it would be great to have a "test framework" which could
> automatically check the transformation results with the expected
> behaviour. 
> 
> I know of XSpec from Jeni Tennison which goes in this direction.
> However, as far as I know, this is for XSLT 2, not XSLT 1. It's used
> for developing and testing the upcoming XSLT 2 DocBook stylesheets.
> 
> I'm not sure how easily could this be adapted to our current XSLT 1
> base. Are there other (better?) solutions?
> 
> How do *you* develop and test your stylesheets? Has anybody used such
> frameworks? Any help is greatly appreciated. :)

xspec is for the general case. Question: Is docbook sufficiently 'firm'
to allow a specific solution? I.e. for any given input at the document
level, we should be able to specify the 'required' / expected output?
   That would allow a diff of two files, albeit an XML diff
   (deep-equals?) which would make for easier testing of the (x)html
   output. 
For fo, would the xsl-fo be sufficient? I'd guess so. Hence a similar
solution would be adequate. 

Just my 2cents worth.

regards


-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to