Support for accidentally missing out $ on variable reference
Posted: Thu Jan 25, 2007 1:46 pm
Many, many times, I've had my stylesheets break because I've done something like:
<xsl:variable name="something">this</xsl:variable>
<xsl:value-of select="something"/>
which doesn't do what I intended because I really meant "$something",
I'd like Oxygen to highlight when I've accessed an element with the same name as a variable or parameter that's within scope. This isn't necessarily an error, so shouldn't be marked as one, but is very likely to be so there should be a warning.
Inigo
<xsl:variable name="something">this</xsl:variable>
<xsl:value-of select="something"/>
which doesn't do what I intended because I really meant "$something",
I'd like Oxygen to highlight when I've accessed an element with the same name as a variable or parameter that's within scope. This isn't necessarily an error, so shouldn't be marked as one, but is very likely to be so there should be a warning.
Inigo