| Summary: | CDATA validation/performance issues | ||
|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | Patric Rufflar <patric> |
| Component: | jst.jsp | Assignee: | Nick Sandonato <nsand.dev> |
| Status: | RESOLVED WORKSFORME | QA Contact: | Nitin Dahyabhai <thatnitind> |
| Severity: | major | ||
| Priority: | P3 | CC: | itewksbu |
| Version: | 1.5.3 | Keywords: | helpwanted |
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
Not reproducible in 3.2 Cannot reproduce in WTP 3.2. |
Build ID: M20070212-1330 Steps To Reproduce: Hello, I am using the WTP 1.5.3 and I am experiencing some problems with CDATA sections. Issue #1 (validation): Create a new jsp, and paste the following: <![CDATA[ <% for(int i=0;i<100;i++) { %> <% } %> ]]> WTP will mark line 3: duplicate local variable i Issue #2 (performance): Create a new jsp and paste the following: <table> <tr> <td> <![CDATA[ <![CDATA[<% int i1,j1,k1,l1,m1,n1,o1 = 1; %>]]> <![CDATA[<% int i2,j2,k2,l2,m2,n2,o2 = 1; %>]]> <![CDATA[<% int i3,j3,k3,l3,m3,n3,o3 = 1;%>]]> <![CDATA[<% int i4,j4,k4,l4,m4,n4,o4 = 1;%>]]> <![CDATA[<% int i5,j5,k5,l5,m5,n5,o5 = 1;%>]]> <![CDATA[<% int i6,j6,k6,l6,m6,n6,o6 = 1;%>]]> <![CDATA[<% int i7,j7,k7,l7,m7,n7,o7 = 1;%>]]> <![CDATA[<% int i8,j8,k8,l8,m8,n8,o8 = 1;%>]]> ]]> </td></tr></table> after pasting, insert some blank lines and look at your cpu utilization or try to scroll. Best Regards, Patric Rufflar More information: