- This topic has 5 replies, 3 voices, and was last updated 20 years, 10 months ago by Riyad Kalla.
-
AuthorPosts
-
Valentijn Van der HaegenMemberHi,
I cannot open my struts-config.xml file with the Struts Editor. It shows a message: Editor could not be initialize. I believe this is because of the DOCTYPE reference on top.When I use
<!DOCTYPE struts-config
PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.0//EN”
“http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd”>the page cannot be opened and MyEclipse Hangs if I try to rightclick it.
When I use
<!DOCTYPE struts-config
PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.1//EN”
“http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd”>no problems at all.
The old reference came from an old project. When I was using ecilpse 2.1 with MyEclipse 2.7 this file could be opened just fine.
If I create a new webproject now and add struts cababilities, the correct doctype is used and the file opens without any problems.I guess this is a problem with backwards compatibility. A BUG I presume.
My Environment:
– Win2000
– JDK1.4.2_01
– Eclipse Version: 3.0.0 Build id: 200312182000
– MyEclipse Version: 3.6.200 Build id: 200401011200-3.7RC2Hope this information is sufficient, if not, just ask.
Thanks in advance,
Les.
Riyad KallaMemberLes, thank you for pointing this out. I’ll send it to the team and see if its fixed in 2.7 GA.
Scott AndersonParticipantLes,
Nice problem description; thanks for that. As Riyad indicated, this is one of the specific issues that has been addressed in the 2.7 GA codebase. Fortunately, it looks like you’ve also found the workaround of specifying the 1.1 dtd, for now. Thanks for taking the time to report this, just so we could be sure we got it fixed.
Riyad KallaMemberLes,
I’m going to close this for now, but please let us know if this is still broken in 2.7 GA and we will get on it ASAP.
Valentijn Van der HaegenMemberThanks for the quick reply guys…
Any ideas when this GA will be available ???Rgds,
Les.
Riyad KallaMemberLes, if you are using stable Eclipse (2.1.x) then Friday of this will be 2.7 GA, if you are using Eclipse 3.0 M7, then 3.7 GA will be available next Friday.
-
AuthorPosts