Hi,
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.7RC2
Hope this information is sufficient, if not, just ask.
Thanks in advance,
Les.