Bug 177746 - CDATA validation/performance issues
Summary: CDATA validation/performance issues
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: 1.5.3   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: Future   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-03-16 09:38 EDT by Patric Rufflar CLA
Modified: 2010-03-18 17:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patric Rufflar CLA 2007-03-16 09:38:05 EDT
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:
Comment 1 Ian Tewksbury CLA 2010-01-20 15:19:00 EST
Not reproducible in 3.2
Comment 2 Nick Sandonato CLA 2010-03-18 17:51:49 EDT
Cannot reproduce in WTP 3.2.