At 9:34 AM +0200 1/4/05, Graham Leggett wrote:
Hi all,

The DTD at the above URL seems to be missing (error 404), which has caused
a struts based application to refuse to start up.

Is it possible to reinstate the above file?

If not, what is the workaround for hosting this DTD?

Everywhere Struts does a validating parse of an XML document, at least using Digester, it should have already registered a valid JAR-based copy of the DTD with Digester. This is definitely set up correctly in Tiles, but it only works if you have the correct PUBLIC Identifier in your DOCTYPE declaration.


Here is an example which should support this:
     <!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
       "http://struts.apache.org/dtds/tiles-config_1_1.dtd";>

With the correct public ID, Struts will never try to retrieve the DTD from the internet. Anyplace we aren't doing this we should, so that would be something to file as a bug.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to