The W3C has been refusing to serve that DTD for years now because it was disgusted by undisciplined applications (many written in Java) which didn't bother to cache it. Chances are that the error is occurring because of that.
So... where are you trying to get it from? Do you have an XML catalog configured, or something like that?
The PUBLIC identifier of a DOCTYPE declaration is for informational purposes. I would removed the DOCTYPE declaration and confirm that the file is well-formed. You could used the XML parser of the Internet Explorer by simply navigating to the file. If the file is well-formed you will be able to view the markup and the contents. Or, you could parse the document using an XML parser such as XP.
But removing the DOCTYPE would make any entities declared in that DTD (like for example) become not well-formed, wouldn't it?
Joined: Jul 02, 2008
Hi Paul, I don't quite know how the parser works, but as far as I know, it is trying to get the DTD directly from the Internet, so your explanation about the W3C blocking access makes sense with what's happening. Is there a way to tell the parser to ignore resolving entities or some other work-around?
Jimmy, Using your suggestion, I confirmed that the document is well-formed. Would the parser you suggest overcome the problems that Paul mentioned? - Dave