tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: svn commit: r1500062 - bug55198.jsp
Date Sat, 06 Jul 2013 20:00:41 GMT
On 05/07/2013 23:10, Jeremy Boynes wrote:
> On Jul 5, 2013, at 9:33 AM, markt@apache.org wrote:
>> +<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0">
>> +<jsp:directive.tag body-content="scriptless" />
>> +<jsp:text>
>> +  <a href="#" onclick="window.alert(&quot;${'foo'}&quot;)">foo</a>
>> +  <a href="#" onclick="window.alert(&quot;bar&quot;)">bar</a>
>> +</jsp:text>
>> +<jsp:doBody />
>> +</jsp:root>
> 
> I believe, strictly, <jsp:text> can't have a sub-element like <a>. 
> Wouldn't the test case still hold if the <jsp:text> was removed?

Correct. That raises the question why the tagx file didn't fail at the
parsing stage. I need to look into this some more.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message