Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
singhh
Post subject: [CLosed] <![CDATA[ tag not recognized in 5.0.1 GA  PostPosted: Nov 21, 2006 - 05:17 AM



Joined: Nov 21, 2006
Posts: 1

Hi,

I have recently upgraded Eclipse to 3.2.1, MyEclipse to 5.0.1 GA, and JDK to 1.5.

A project that was getting compiled perfectly in the previous IDE of MyEclipse is now trowing compliation error in JSPs. It's complaining about all the STRUTS / JSTL tags used in the JSPs.

If I take the below declaration out of the <![CDATA[ ]]> section, it recognizes the declarations and starts recognizing all the JSTL tags.

<Protected><![CDATA[
<%@ page contentType="text/html; charset=iso-8859-1" language="java" session="false" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/c.tld" prefix="core" %>
]]></Protected>

I've tried using JSTL 1.0 and 1.1.

Could you please point me to the problem in the installation of MyEclipse.
Regards,
Himanshu

- System Setup -------------------------------
Operating System and version:
Eclipse version: 3.2.1
Eclipse build id: M20060921-0945
Fresh Eclipse install (y/n): y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 2
MyEclipse version: 5.0.1 GA
Eclipse JDK version: 20060810-5.0.1-GA
Application Server JDK version: 1.5
Are there any exceptions in the Eclipse log file?
- Message Body -------------------------------
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 21, 2006 - 04:46 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Himanshu ,
Can you send me a small sample web project that exhibits this problem that *should* compile correctly to support@myeclipseide.com ATTN Riyad with a link to this thread so I know why I'm getting the project?

I'll have a look at the problem.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 22, 2006 - 03:14 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23855

Himanshu,
Thank you for the example project. There are quite a few problems in here. You have a number of invalid (I'm guessing a custom framework?) tags wrapping the page, also the CDATA construct is not legal JSP syntax in the manner you have it (wrapping the taglib directives). You have no page format type definition and your taglib URIs are all invalid given the contents of the project.

I imported your project into a slew of IDEs I have available for testing and *none* of them accepted the project without marking numerous errors on the pages.

I think the problem is that the MyEclipse JSP syntax parser got quite a bit more advanced in the 5.0 release than it was in the 4.1 release and we are not noticing things that used to "get under the radar" so to speak.

If you need to keep the pages in this format, I would strongly suggest making use of our new validation-exlusion controls available by right clicking on your page, and going to MyEclipse > Exclude from Validation. You can also control this under the project properties, under Validation > Exclusion.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits