Editor does not recognize <![CDATA[ tag

Get help with Spket IDE.
Post Reply
dstowell
Posts: 4
Joined: Mon Oct 17, 2005 5:39 pm

Editor does not recognize <![CDATA[ tag

Post by dstowell » Tue Oct 18, 2005 4:52 pm

The following code snippet is marked as having three errors (the canvas, view, and method tags are underlined in red):

Code: Select all

<canvas>

	<view>
		<method event="oninit">
			<![CDATA[
			for ( var i  = 0; i < subviews.length; i++ ) {
				Debug.write( i.name );
			}
			]]>
		</method>
	</view>

</canvas>
I believe it is because the editor does not recognize the <![CDATA[ and ]]> tags.

dstowell
Posts: 4
Joined: Mon Oct 17, 2005 5:39 pm

Post by dstowell » Tue Oct 18, 2005 4:57 pm

Closing and re-opening the application removes the red underlining.

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Wed Oct 19, 2005 2:18 am

This is the bug of WTP(www.eclipse.org/webtools), the xml editor of Spket IDE is based on WTP 0.7, I just try WTP 0.7.1, seems this bug has fixed.
The next release will migrating to Eclipse 3.1.1 and WTP 0.7.1.

Thans for report this bugs.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests