facebook

Invalid location of tag [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #212914 Reply

    Scott
    Member

    I just upgraded to 3.8 GA from 3.7. Now my JSPs have lots of IWAK0049E errors with the tag in question underlined with yellow. What is this? How do I turn this feature off?

    Scott
    Windows XP

    #212915 Reply

    Scott
    Member

    I was ignoring these errors for the time being and started editing the JSPs and I noticed that new stuff I entered did not get the yellow errors. Every table, tr, input, etc has this error (interesting the td tag does not). So, I tried something. I copied some lines that have the errors and pasted them right back below and thses did not get the errors. I then selected everything in the file and cut it and then pasted it back in and all the errors went away. Annoying that I have to do this on every single jsp file now. I think I will wait and see if you have some other idea.

    #212916 Reply

    Riyad Kalla
    Member

    Scott,
    As you found you can turn off JSP validation and close your project and reopen it and hopefully the errors won’t be so exacerbated. However there are some known bugs with GA that we aer going to roll out fixes for in the next day or two (we are sorry for shipping this prematurely).

    The <tr> error is a known issue, because the validation is according to HTML spec, which says that TR must only be in a <tbody> tag… which no one we know uses 😉

    Best suggestion I can give right now is to turn off all validation and use it manually when you need it.

    #212935 Reply

    Scott
    Member

    The errors did not go away and I could not turn off validation. Every time I restarted eclipse, the validation was back to the default settings. I went back to 3.7.2 (3.8 beta 2?) since that was working fine.

    #212939 Reply

    snpe
    Member

    3.8 GA is more better version – better editors (xml, jsp,html,css dtd etc),xaml catalog support, db explorer, hibernate etc
    and I think that setting off validation isn’t problem (we will start eclipse one time for day 🙂 , and Myeclipse team will resolve this and set JSP validation to defailt off (I hope)

    regards

    #212941 Reply

    Scott Anderson
    Participant

    Scott,

    Those issues are addressed in 3.8.1 which will be released by Monday morning at the latest. Please hang in there, a fix is coming.

    #221285 Reply

    Greg Bishop
    Member

    I find if I have javascript like this:

    <td width=”12%”>
    <select name=endyear>
    <script language=”javaScript”>
    for (var i=0; i<yearsToExtend; i++) {
    document.write(“<option value=”+currentYearArray[i]+”>”+ currentYearArray[i]);
    }
    </script>
    </select>
    </td>

    WSAD 5.1.2 freaks out and warns me that that is an invalid location of the tag. Once I fix all my other HTML errors, I turn validation for HTML off and the warnings go away… Oh well.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Invalid location of tag [Closed]

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