Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-24 Thread Thomas Schraitle
Hi, sorry for the delay. On Thu, 16 Oct 2014 16:04:53 +0200 Jirka Kosek wrote: > On 16.10.2014 10:56, Thomas Schraitle wrote: > > I'm not sure how easily could this be adapted to our current XSLT 1 > > base. Are there other (better?) solutions? > > If you will not use extensions, it should be

Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-19 Thread davep
On Thu, 16 Oct 2014 15:11:27 +0200 Thomas Schraitle wrote: > Apart from this technical implementations, I'm more interested in the > overall structure. What would be a "good" test environment for > stylesheet customizations? Or even the DocBook stylesheets itself? Start at the bottom? A basic 1.

Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-16 Thread Tony Graham
On Thu, October 16, 2014 9:56 am, Thomas Schraitle wrote: > 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

Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-16 Thread Jirka Kosek
On 16.10.2014 10:56, Thomas Schraitle wrote: > I'm not sure how easily could this be adapted to our current XSLT 1 > base. Are there other (better?) solutions? If you will not use extensions, it should be possible to run DocBook XSLT stylesheets in XSLT 2.0 processor, hence use XSpec.

Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-16 Thread Thomas Schraitle
Hi Dave, thanks for your reply! :) On Thu, 16 Oct 2014 12:25:40 +0100 davep wrote: > [...] > > 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'

Re: [docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-16 Thread davep
On Thu, 16 Oct 2014 10:56:11 +0200 Thomas Schraitle 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 > au

[docbook-apps] Tests Framework for DocBook Stylesheets & Customizations?

2014-10-16 Thread Thomas Schraitle
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.