ASF Bugzilla – Attachment 30167 Details for
Bug 54801
EL-like expressions in jsp:scriptlet break compilation of JSP XML documents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2013-04-10_tc8_54801_1.patch
2013-04-10_tc8_54801_1.patch (text/plain), 960 bytes, created by
Konstantin Kolinko
on 2013-04-09 22:19:03 UTC
(
hide
)
Description:
2013-04-10_tc8_54801_1.patch
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2013-04-09 22:19:03 UTC
Size:
960 bytes
patch
obsolete
>Index: java/org/apache/jasper/compiler/JspDocumentParser.java >=================================================================== >--- java/org/apache/jasper/compiler/JspDocumentParser.java (revision 1466224) >+++ java/org/apache/jasper/compiler/JspDocumentParser.java (working copy) >@@ -496,6 +496,18 @@ > return; > } > >+ if (current instanceof Node.ScriptingElement) { >+ if (charBuffer.length() > 0) { >+ @SuppressWarnings("unused") >+ Node unused = new Node.TemplateText( >+ charBuffer.toString(), startMark, current); >+ } >+ startMark = new Mark(ctxt, path, locator.getLineNumber(), >+ locator.getColumnNumber()); >+ charBuffer = null; >+ return; >+ } >+ > if ((current instanceof Node.JspText) > || (current instanceof Node.NamedAttribute) > || !isAllSpace) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 54801
:
30152
|
30153
| 30167 |
30168
|
30169