[sorry, my previous message was sent too early]
Hi Jeffrey,
Le mercredi 03 octobre 2007 à 13:40 +0000, Jeffrey Zheng a écrit :
> One of our projects started giving an error this morning like this:
> The remote server returned an error: (503) Server Unavailable.
>
> After investigated the stack trace, it seems that the error was caused
> while the application was parsing a template in XML format. After the
> line of DOCTYPE was commented out, the application came back running.
> Here is the original DOCTYPE:
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> Is there a limit on the number of requests for the DTD file? Is it
> because our application have exceeded the limit, which caused the
> error?
Indeed, W3C now imposes a limit on the number of requests that can be
made on a DTD in a given time range.
http://www.w3.org/Help/Webmaster.html#blockNote that there are plenty of options to avoid hitting the W3C servers
with DTD requests over and over:
* disabling DTD validation in your project
* using an XML Catalog
* using a proxy between your application and the Web
Hope this helps,
Dom