Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » DTDImpl errors when opening a file
DTDImpl errors when opening a file [message #74658] Tue, 01 July 2008 18:04
Eclipse UserFriend
Originally posted by: robert.robert-gonzalez.com

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.
Previous Topic:Could not create the php project outline view
Next Topic:PDT 1.1 Integration builds update site
Goto Forum:
  


Current Time: Sun Jan 29 13:49:22 GMT 2023

Powered by FUDForum. Page generated in 0.04380 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top