[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] DTDImpl errors when opening a file

A few days ago I upgraded my Java install on my Fedora 7 installation so I could try out NetBeans (I know, blasphemous). I did this because I was getting all sorts of strange errors in Eclipse on Fedora 7 and was tired of things just not working.

After the NetBeans install I decided to ditch NetBeans (because that thing has plenty of its own craptastic issues). And for a few days EclipsePDT was smoking along nicely. Then, sort of out of the blue, I started getting this message every time I opened a file:

An error has occurred. See error log for more details.
org.eclipse.wst.dtd.core.internal.contentmodel.DTDImpl

Seeing DTD in the error name I am guessing that Eclipse is looking for the DTD declaration in the HTML portion of the script. Except many of my scripts do not contain any HTML at all. And even when I opened up one of my HTML templates that sets the DTD, I still got that notice.

Strangely, when this happens, I get a new tab in EclipsePDT with "PHP Editor" on the tab, but I cannot focus on it or even see anything with it. Basically it errors out and leaves me with no ability to open the file by double click it in the explorer window OR using File -> Open File.

If I choose to open it in the text editor it opens fine. But that defeats the purpose of the IDE if I cannot open PHP files as PHP and work in them as you would expect from the IDE.

FTR: I am running Fedora 7 with Java JDK6U6 installed. I was using Java 5 prior and the errors were much more frequent and varying than this one.
From Help -> About:

Eclipse Platform

Version: 3.3.0
Build id: I20070625-1500

I can post configuration details if necessary.

Does anyone have any ideas that would allow me to use this IDE as it is intended to be used? NetBeans sucks beans and there is nothing else out there like Eclipse in my opinion.