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

Re: [xsl] Haskell programmer's rant about xslt

Subject: Re: [xsl] Haskell programmer's rant about xslt
From: Emmanuel Bégué <medusis@xxxxxxxxx>
Date: Tue, 17 Apr 2012 17:39:11 +0200

2012/4/17 Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
> Jirka, I think, is also on the mark:
>> OP was probably upset by some badly designed XSLT code he had to cope with.

Indeed. He wrote a follow-up to his first post
(http://www.snoyman.com/blog/2012/04/xslt-rant-explained.html) where
he explains that he had to find why a template was not producing the
expected result, in a project involving 8000 lines of XSLT spread over
40 files. Someone had overwritten the specific template with a default
template and it took him an hour to find it (although in the example
he gives, rules of precedence should favor the specific template over
the generic one?)

> If there were as many well-meaning but overhasty self-taught hackers writing Haskell as XSLT

His point is that XSLT makes it especially difficult to debug (bad)
programs written by others. How would one best solve the problem he


Current Thread