https://issues.apache.org/bugzilla/show_bug.cgi?id=55735

--- Comment #1 from azuo....@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="&quot;${text}&quot;">ABCD</div>
output:     <div title="&quot;2 &amp;gt; 1&quot;">ABCD</div>

tagx/jspx:  <div>&quot;<c:out value="&amp;nbsp;${text}&quot;"
escapeXml="false"></div>
output:     <div>&quot;&nbsp;2 &gt; 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>&quot;${text}&quot;</div>

Should it be
output:     <div>&quot;2 &amp;gt; 1&quot;</div>
or
output:     <div>"2 &gt; 1"</div>
or
output:     <div>&quot;2 &gt; 1&quot;</div>
or
output:     <div>"2 &amp;gt; 1"</div>

????????

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

Reply via email to