Community
Participate
Working Groups
Unfortunately, we often write a jsp file such as: <button value="<"> , or <button value="<<">, or <button value="<=">, or <input value="<info:format left="Old" s1="<<" right="Young"/>" .In a general way, we think these form is rightful, and we just think the "<" or "<<" as value of a attribute, not a tag open. But the JSP Editor specified in jst cannot parse such fragments correctly. Please check it. Thanks!
We've had similar requests, and I generally agree. But, it'll take some "deep" work to safely satisfy all situations. Thanks.
Thanks for your agreement on this. I hope for making something for this issue and I have been studing "ibmtools.zip" contributed by IBM and the subsequent WTP with great interest for almost half a year. Can you show me the file "file:/D:/eclipse.wtp/workspace/org.eclipse.wst.sse.core/DevTimeSupport/Sed Model/HTMLTokenizer/devel/JSPTokenizer.jflex" described in comment of the class "org.eclipse.jst.jsp.core.internal.parser.internal.JSPTokenizer.java"? If for some reason it is discommodiously, would you like to tell me the intending time to resolve it? Thanks and expect much!
The file is located in CVS in the org.eclipse.wst.sse.core plugin under DevTimeSupport/SedModel/HTMLTokenizer/devel/JSPTokenizer.jflex. I regret saying it but, given its complexity, the time to resolve it will be after 1.0.
I think this would require altering the rules for '<' within JSP quotes to behave differently when something other than a custom tag name is encountered. Tricky stuff.
This is still an issue. Most likely needs an update to the JSPTokenizer.
*** Bug 126375 has been marked as a duplicate of this bug. ***
Created attachment 163288 [details] Patch to handle the "<" token inside attribute value
This patch takes care of "<" inside attribut value in jsp. For html this is still a problem and needs to be taken care.
Created attachment 164668 [details] Patch for XMlTokenizer.Jflex to accept "<" inside attribute value in xml and html
Hi, Sarika. Thanks for the patch. I think Bug 316223 took care of this in both HTML and JSPs. So I will mark this as a duplicate for now. *** This bug has been marked as a duplicate of bug 316223 ***