facebook

MyEclipse JSP edit mode false positive

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #260996 Reply

    jieryn
    Member

    I keep getting some JSP text tagged as invalid when it is actually valid. Here is the smallest working example to reproduce the problem:

    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
        <body>
            <form method="get" action="#">
                <select name="options">
                    <option value="opt1"
                        <c:if test="${model.autoSelect1}"> selected="selected"</c:if>>
                        Option 1
                    </option>
                    <option value="opt2"
                        <c:if test="${model.autoSelect2}"> selected="selected"</c:if>>
                        Option 2
                    </option>
                    <option value="opt3"
                        <c:if test="${model.autoSelect3}"> selected="selected"</c:if>>
                        Option 3
                    </option>
                </select>
            </form>
        </body>
    </html>
    

    The <c:if lines keep getting marked as invalid attributes. Please fix this, it is really really annoying! 🙂

    MyEclipse++

    #261002 Reply

    Riyad Kalla
    Member

    Oh yes I see what you mean, thank you for the report, that is very annoying. I have filed a bug in our issue tracker for this.

    #262695 Reply

    jieryn
    Member

    Hello, I have updated myself to the latest version of MyEclipse and I’m still seeing the same problem as before. I use the exact snippet that I posted originally and MyEclipse underlines it yellow and flags it as a warning. I’d like to escalate the priority of the defect up a bit so that this can get taken care of.. thanks!

    *** Date:
    Tuesday, November 28, 2006 2:14:54 PM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.1.v20060921
    Build id: 20060921-1617

    Eclipse Platform

    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945

    Eclipse RCP

    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945

    Eclipse Java Development Tools

    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    167c_58
    -vm
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\bin\javaw.exe

    #262696 Reply

    Riyad Kalla
    Member

    We haven’t forgotten, still on our TODO list. Sorry for the delay.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: MyEclipse JSP edit mode false positive

You must be logged in to post in the forum log in