You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/11/02 11:28:49 UTC
[Bug 55735] Additional quote entity in html element attribute
evaluated in tagx if attribute contains EL expression
https://issues.apache.org/bugzilla/show_bug.cgi?id=55735
--- Comment #1 from azuo.lee@sohu.com ---
Um... it seems JSP spec doesn't clarify the behavior at all...
But XSLT does. If we "borrow" rules from XSLT, then some correct examples could
be (text="2 > 1"):
tagx/jspx: <div title=""${text}"">ABCD</div>
output: <div title=""2 &gt; 1"">ABCD</div>
tagx/jspx: <div>"<c:out value="&nbsp;${text}""
escapeXml="false"></div>
output: <div>" 2 > 1"</div>
But XSLT doesn't allow expressions in template text, thus, what can be the
correct result generated by the following example?
tagx/jspx: <div>"${text}"</div>
Should it be
output: <div>"2 &gt; 1"</div>
or
output: <div>"2 > 1"</div>
or
output: <div>"2 > 1"</div>
or
output: <div>"2 &gt; 1"</div>
????????
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org