facebook

EL Syntax validator not working

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #257975 Reply

    I have a valid JSP page using EL syntax. But the EL Syntax validator flags it as a problem.

    Here is an isolated example. It seems to be flaggin map access operators as exceptions.

    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html>
      <head>
        <title>My JSP 'MyJsp.jsp' starting page</title>
      </head>
      
      <body>
        This is my JSP page. <br>
        
        This should be some valid EL
         <br>
        This passes validation
        <br>
        ${'This is a string literal in EL'}
         <br>
        Here we extract the host property from the header.  Jsp editor tells me this
        is an el syntax error but it's not.
        <br>
        ${header['host']}
         <br>
        Maybe it will work with double quotes
        <br>
        ${header["host"]}
         <br>
        Nope it doesn't
         <br>
      </body>
    </html>
    
    
    
    *** Date: Fri Sep 01 11:35:11 EDT 2006
    
    *** System properties:
    OS=mac os x
    OS version=10.4.7
    Java version=1.5.0_06
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 5.0 GA
    Build id: 20060805-5.0-GA
    
    *** Eclipse details:
    Eclipse SDK
    
    Version: 3.2.0
    Build id: M20060629-1905
    
    Eclipse Graphical Editing Framework
    
    Version: 3.2.0.v20060626
    Build id: 20060627-0816
    
    Eclipse Platform
    
    Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
    Build id: M20060629-1905
    
    Eclipse RCP
    
    Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
    Build id: M20060629-1905
    
    Eclipse Java Development Tools
    
    Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
    Build id: M20060629-1905
    
    Eclipse Plug-in Development Environment
    
    Version: 3.2.0.v20060609m------6zXJJzJzJq
    Build id: M20060629-1905
    
    Eclipse Project SDK
    
    Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
    Build id: M20060629-1905
    
    Eclipse startup command=-os
    macosx
    -ws
    carbon
    -launcher
    /Applications/Development/eclipse_myeclipse/Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    10000
    -keyring
    /Users/rwells/.eclipse_keyring
    -consoleLog
    -showlocation
    -vm
    /usr/bin/java
    
    
    #258024 Reply

    Riyad Kalla
    Member

    This looks like a bug, thank you for reportingi t.

    #276211 Reply

    delfuego
    Member

    This message has not been recovered.

    #276212 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #276213 Reply

    delfuego
    Member

    This message has not been recovered.

    #276214 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #285228 Reply

    jhpublic
    Participant

    This message has not been recovered.

    #285253 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #295221 Reply

    monroe
    Member

    FWiW – This bug is still there in 7.0 (All-in-one / latest patches / WinXP).

    I am seeing it with Taglib function. E.g. ${mytags:getURL( var1, “action=”something”, false)} shows a red X with the following notations:

    EL Syntax Error
    Undefined attribute name (action)
    Undefined attribute name(false)

    #300928 Reply

    monroe
    Member

    FWiW… This bug still in 7.5 with latest updates…

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: EL Syntax validator not working

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