After upgrading from Eclipse 3.1 with MyEclipse 4 to Eclipse 3.2 with MyEclipseIDE 5.0M2, I am seeing much stricter HTML validation applied to the Tapestry HTML templates.
Here are some situations that are causing undesirable warnings and errors.
<table>
<tr>
<td> … </td>
<span jwcid=”@If” condition=”ognl:extraFieldsNeeded”>
<td> … </td>
</span>
</tr>
</table>
The above <span> isn’t really allowed by HTML, but there isn’t really another HTML element (e.g., td) that could reasonably be used instead of span to allow additional TD elements to be added conditionally. I’d like to be able to suppress the error for “No start tag (<span>)” when the </span> is encountered, as well as the warnings “Invalid location of tag (<span>)” and “No end tag (</span>)” at the td within the span.
<span key=”related-pages” />
The above span causes a warning for “No end tag (</span>)”. It’s not parsing/validating the element according to XML rules.
Ben