facebook

question: why do I get a warning location tr tag?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #212211 Reply

    schnall
    Member

    why do I get a warning IWAK0094E invalid location of tag (tr) on the opening <tr> tag

    I use typically the following syntax (which I believe to be correct)
    <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td height=”1074″ valign=”top”>

    </td></tr></table>

    Thanks

    #212275 Reply

    dmiller
    Member

    I get the same problem on some of my <tr> tags.

    #212281 Reply

    Greg
    Member

    Tables are commonly written exactly are you have them <table><tr><td>…. However, according to the html spec all table rows <tr>’s are supposed to be contained within a <tbody> tag.

    
    <table>
       <tbody>
          <tr>
             ...
          </tr>
       </tbody>
    </table>

    It is also better to use the <tbody> tag then you can take advantage of all of the html outline view features. ie, right-clicking a <tr> tag in the ouline view, lets you insert a row node <tr> before and after the current node. You won’t be able to do that if the table doesn’t have a <tbody>.

    #212298 Reply

    Greg
    Member

    After reviewing this issue, we will not dismiss this as… “here is the spec”. We realize that hardly noone uses the <tbody> tags. We will look into this.

    #212320 Reply

    Scott Anderson
    Participant

    That’s why we allow you to disable HTML validation and it is off by default.

    #212365 Reply

    schnall
    Member

    Note: html validation is not set (not in general properties nor on project level), yet I still see warnings.

    🙁 I may have done something else that I don’t remember.

    #212576 Reply

    sheineke
    Member

    Even the default table template doesn’t have the <tbody> tags!

    I would appreciate if the HTML validation would allow tables without the <tbody> tags since every browser does allow them as well.

    #212580 Reply

    Riyad Kalla
    Member

    Guys the permanent validation problem is a known bug that we will get worked out. Thank you for hanging in there.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: question: why do I get a warning location tr tag?

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