--On June 17, 2006 10:35:42 AM -0500 Igor Naumov <[EMAIL PROTECTED]>
wrote:
It might be possible that your application is going to w3.org for some
DTD (e.g. for XML/XHTML validation).
However I am not sure how to prevent this (or even if it make sense to
avoid retrieving a DTD).
To which I reply:
I think that you're right (and thanks for the pointer!). The error being
flagged by Cocoon was on this line:
<xsl:apply-templates select="$layoutTemplate/*"/>
and the template file being referenced contains a DOCTYPE with a DTD
referencing w3.org.
Our production web site's static content is of course riddled with DOCTYPEs
like that, but when w3.org becomes unreachable it doesn't seem to cause
problems for the Apache-served content, only for stuff that Cocoon is
serving up. So I see really only two ways to avoid this problem:
- Change all the DOCTYPE references to a local copy of the DTD
- Figure out how to keep Cocoon from trying to validate the XHTML (if
that's what's really going on)
Other ideas?
--
Steve Burling <mailto:[EMAIL PROTECTED]>
University of Michigan, ICPSR Voice: +1 734 615.3779
330 Packard Street FAX: +1 734 647.8700
Ann Arbor, MI 48104-2910
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]