XSLT: autocompletion bug
Oxygen general issues.
-
- Posts: 6
- Joined: Thu Dec 04, 2008 7:52 pm
XSLT: autocompletion bug
Using Oxygen xml 10.3.0, Eclipse version, create a new XSLT file and paste the following code:
Now,put your cursor in the empty 'select' attribute, enter a $ and press ctrl+enter to have the autocompletion options poping up. Two options appear: $a and $b. Yet, only a is valid: choosing b produces a compilation error.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:template match="/">
<xsl:variable name="a">
<xsl:variable name="b" select="1"/>
<xsl:sequence select="2 * $b"/>
</xsl:variable>
<xsl:sequence select=""/>
</xsl:template>
</xsl:stylesheet>
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XSLT: autocompletion bug
Post by sorin_ristache »
Hello,
Thank you for reporting the bug. Autocompletion displays all local variables of current template but it should display only the variables in scope at the cursor location. We will fix that.
Thank you,
Sorin
Thank you for reporting the bug. Autocompletion displays all local variables of current template but it should display only the variables in scope at the cursor location. We will fix that.
Thank you,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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