I am finding that IDEA flags an error in my DOCTYPE statement in some files but not in others. For example, following is the DOCTYPE statement for my web.xml which is not flagged
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
However, a similar DOCTYPE statement in my struts-config.xml
PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
has the URI in red. The tool-tip message is "URI is not registered (IDE Options|Resources).
I realize that I can fix this problem by getting a local copy of the dtd and setting up the resources as suggested. However, the fact that my web.xml works fine suggests that I should not have to go through this process.
The URI is valid