Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
5.0, 5.0.3, 5.0.4
-
None
-
None
Description
A page / component with the following template
<t:if test="false" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
BODY
</t:if>
raises an exception "No root element has been defined."
A page / component with the following template
<t:if test="false" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
BODY
</t:if>
does not render its BODY.
I think this is a general problem, because I also tried with component written by me (even with empty class and no template) and got the same results.