[EMAIL PROTECTED] wrote:
Turning validation off and changing tiles-config.dtd into tiles-config_1_1.dtd like suggested by Laurie Harper did not work. So I removed the DOCTYPE declaration and it seems to work. I wonder why the xml parser tries to connect to http://jakarta.apache.org/ for my tiles-defs.xml, I always thought it is only a describing name rather than a real URL to connect to.
If you only fixed that part of the DOCTYPE declaration you'd still get the same error. Both the public and system identifiers must match exactly to what Struts expects, or the XML parser thinks you're deliberately asking for a different DTD which it needs to fetch. Make sure you're DOCTYPE declaration is correct in all parts. [The system identifier is 'just a name', the public identifier (the URL) is a physical location from which to read the DTD if the application doesn't recognize the system identifier.]
I also use the following declaration in my struts-config-xml, and there have not been any problems. <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
Yep, that one has the correct system identifier so the XML parser loads the DTD from the local catalog.
L. -- Laurie, Open Source advocate, Java geek and novice blogger: http://www.holoweb.net/laurie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]