Re: [xsl] Avoiding boneheaded mistakes in XSLT?

Subject: Re: [xsl] Avoiding boneheaded mistakes in XSLT?
From: Andriy Gerasika <andriy.gerasika@xxxxxxxxx>
Date: Thu, 30 Dec 2010 09:04:24 +0200
On 12/29/2010 12:35 AM, David Sewell wrote:
1. In an XPath expression, using "something/node" where I wanted
"something/node()" [ditto text vs. text()]: always means zero results and
can drive you crazy if you don't notice the missing parentheses;

IDE should highlight functions inside XPath, for example in bold


right now, Eclipse for example does not, and it supports XPath 1.0 only

Has anyone come up with a useful list of "things to check any time my
code is not working the way it should"?

FindBugs.xslt checking XSLT would help, something similar to already existing FindBugs in Java world


Current Thread