xsl-list
[Top] [All Lists]

Re: [xsl] junit test... for xslt2?

2010-03-08 03:22:26
On 08/03/10 09:12, Andrew Welch wrote:


Ultimately though, for checking the "correctness" of the result of a
transform, I think you just need to execute XPaths against it, which
are more tolerant of subtle changes in the output.  That was the idea
behind xchecker, which then became running xquery and transforms to
overcome the limitations of what xpath can check.

Would you expand on that a little please Andrew?
I can see (initially) that xpath comparisons would
be easier (ws etc), but what made you change to
'running xquery and transforms'?
What was xpath missing?

I'm thinking of testing the output of a single template
against an expected 'structure'.


regards

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

--~------------------------------------------------------------------
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>
--~--