Support for accidentally missing out $ on variable reference
Are you missing a feature? Request its implementation here.
-
- Posts: 3
- Joined: Fri Sep 29, 2006 11:14 am
Support for accidentally missing out $ on variable reference
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
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hello,
XSLT processors do not check such situations but oXygen could check this as an additional step after the stylesheet is validated by the XSLT processor. We will consider your request.
Thank you,
Sorin
XSLT processors do not check such situations but oXygen could check this as an additional step after the stylesheet is validated by the XSLT processor. We will consider your request.
Thank you,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service