Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 166557

Summary: Simple lines of correct HTML causes validation error
Product: [WebTools] WTP Source Editing Reporter: Yossi Leon <yossi>
Component: wst.htmlAssignee: Nick Sandonato <nsand.dev>
Status: CLOSED DUPLICATE QA Contact: David Williams <david_williams>
Severity: normal    
Priority: P3 CC: nsand.dev, thatnitind
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yossi Leon CLA 2006-12-01 15:52:52 EST
Consider the following lines in a new html file:
<html>
<body>
<p><table border=1></table></p>
</body>
</html> 

You will get in the editor "no start tag (<p>)" where this code is correct. Playing with it a bit remove the error.
Comment 1 Taro App CLA 2008-11-27 03:39:11 EST
I think this is dup of #149716.
Comment 2 Nitin Dahyabhai CLA 2009-03-12 02:32:16 EDT
I think it's less of a problem since this message is a Warning in 3.1, but it's still there.
Comment 3 Nick Sandonato CLA 2009-12-08 15:15:33 EST
Automatic promotion of invalid child elements has been removed in 3.2. This means that instead of getting the incorrect "No start tag (<p>)" warning, the problem message will be "Invalid location of tag (table)", which is a bit more helpful.

Please see Bug 283840.

*** This bug has been marked as a duplicate of bug 283840 ***