- This topic has 4 replies, 3 voices, and was last updated 17 years, 1 month ago by
gzbkl.
-
AuthorPosts
-
Jan GoschMemberThe Syntax-validator in 5.01 gives me some Problems here.
I often get errors in the wrong place.
When I save the file the error goes away only to return on the next rebuild of the project.Also I have get the error-message: ‘Invalid textstring’ for plain text in an html-file.
Cut-all paste-all and then saving resolves this problem.It seems to me that the syntax-validator behaves extremely erratic an more than often shows error where
there are none.Regards
JanAugust 28, 2006 at 11:47 am #257737
Riyad KallaMemberJan,
For starters, can you go to your MyEclipse menu, then go down to Installation Summary, then Installation Details, and copy-paste the result here for me?August 29, 2006 at 2:10 am #257770
Jan GoschMemberYes of course,
here is just a short code-example:
<tbody>
<form action=”log.jsp?id=12345″
name=”LOGFILES” method=”post”
enctype=”application/x-www-form-urlencoded”>
<tr>
<td><b>Busy connections: <%= AMConnection.getBusyConnections() %> </b></td>
</tr>
<tr>
<td><b>Choose Logs:</b>
<td><input type=checkbox name=LOG
<%= (vWatch.indexOf(“LOG”) != -1 ? ” checked” : “”) %> >
<a href=”<%= URLEncoder.encode(files[0],”utf-8″) %>”>LOG</a></td>
<td><input type=checkbox name=ERROR
<%= (vWatch.indexOf(“ERROR”) != -1 ? ” checked” : “”) %> >ERROR</td>
<td><input type=checkbox name=DEBUG
<%= (vWatch.indexOf(“DEBUG”) != -1 ? ” checked” : “”) %> >DEBUG</td>
<td><input type=checkbox name=AUSWERTUNG
<%= (vWatch.indexOf(“AUSWERTUNG”) != -1 ? ” checked” : “”) %> >AUSWERTUNG</td>
<td><input type=checkbox name=SQL
<%= (vWatch.indexOf(“SQL”) != -1 ? ” checked” : “”) %> >SQL</td>
<td><input type=checkbox name=REFRESH
<%= (request.getParameter(“REFRESH”) != null ? ” checked” : “”) %> >REFRESH</td>
<td><input type=submit name=SHOW value=”SHOW” ></td>
</tr>
</form>
</tbody>
</table>On the start-tag I get the message: Invalid location for tag form, and on the endtag I get the message: no starttag form.
I just need to insert a space and save the file and the errors go away, only to appear the next time I rebuild the project.Below are the installation-details
Regards
Jan*** Date: Tue Aug 29 09:09:16 CEST 2006
*** System properties:
OS=Linux
OS version=2.6.15-default
Java version=1.4.2_11*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 GA
Build id: 20060805-5.0-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0.1 GA
Build id: 20060810-5.0.1-GAEclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-launcher
/home/snoopy/eclipse/eclipse
-name
Eclipse
-showsplash
600
-exitdata
448009
file.encoding=ISO-8859-1
-product
com.genuitec.myeclipse.product.ide
-vm
/usr/bin/javaAugust 29, 2006 at 9:11 am #257788
Riyad KallaMemberYour page had some problems, I corrected them and turned it into this example that *is* incorrectly marking “undefined attribute” warnings and have filed it as a bug:
<%@ page language="java" import="java.net.URLEncoder" pageEncoding="UTF-8"%> <% String AMConnection = ""; String vWatch = ""; String[] files = new String[1]; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <body> <form action="" name="LOGFILES" method="post" enctype="application/x-www-form-urlencoded"> <table> <tbody> <tr> <td> Busy connections: <%=AMConnection.charAt(0)%> </td> </tr> <tr> <td> Choose Logs: <td> <input type=checkbox name=LOG<%=(vWatch.indexOf("LOG") != -1 ? " checked" : "")%>> <a href="<%=URLEncoder.encode(files[0], "utf-8")%>">LOG</a> </td> <td> <input type=checkbox name=ERROR<%=(vWatch.indexOf("ERROR") != -1 ? " checked" : "")%>> ERROR </td> <td> <input type=checkbox name=DEBUG<%=(vWatch.indexOf("DEBUG") != -1 ? " checked" : "")%>> DEBUG </td> <td> <input type=checkbox name=AUSWERTUNG<%=(vWatch.indexOf("AUSWERTUNG") != -1 ? " checked" : "")%>> AUSWERTUNG </td> <td> <input type=checkbox name=SQL<%=(vWatch.indexOf("SQL") != -1 ? " checked" : "")%>> SQL </td> <td> <input type=checkbox name=REFRESH<%=(request.getParameter("REFRESH") != null ? " checked" : "")%>> REFRESH </td> <td> <input type=submit name=SHOW value="SHOW"> </td> </tr> </tbody> </table> </form> </body> </html>
May 10, 2008 at 3:36 am #284868
gzbklMemberI have the same problem !
Thank you very much !
Best regards
Kongliang -
AuthorPosts