[
https://jira.jboss.org/jira/browse/JBIDE-4686?page=com.atlassian.jira.plu...
]
Alex Savitsky commented on JBIDE-4686:
--------------------------------------
If the DTD is requested every time a file is validated (which is what I suspect is
happening), and file is validated every time it's changed (which is how it's set
up in my workspace), then, even with a moderate number of files in project, this alone can
violate the W3C quotas, especially given that these quotas are quite restrictive (few
times a day per IP, tops - they're even thinking of lowering it to once a month or
something like this). "Excessive traffic" here means that if everyone does even
that little, they end up having requests measured in hundreds of millions a day.
The "error" in itself is just a warning, though (a minor annoyance, not a
show-stopper), and it doesn't have any stack trace that comes with it. As far as I can
see, the error log doesn't have anything for this error, either.
The DTD is indeed listed in XML Catalog, here's the entry:
Location: dtds\xhtml1-transitional.dtd in jar file
C:\Work\Apps\Eclipse-3.5.0\plugins\org.eclipse.wst.standard.schemas_1.0.200.v200902270215.jar
URI:
jar:file:/C:/Work/Apps/Eclipse-3.5.0/plugins/org.eclipse.wst.standard.schemas_1.0.200.v200902270215.jar!/dtds/xhtml1-transitional.dtd
Key Type: Public ID
Key: -//W3C//DTD XHTML 1.0 Transitional//EN
"Server returned HTTP response code: 503" warning during
HTML/XHTML validation
------------------------------------------------------------------------------
Key: JBIDE-4686
URL:
https://jira.jboss.org/jira/browse/JBIDE-4686
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.1.0.M2
Reporter: Alex Savitsky
Priority: Minor
All HTML/XHTML files are validated with a warning "Server returned HTTP response
code: 503 for URL:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd". W3C site
(the one that hosts the referenced XHTML/HTML DTDs) has the following explanation:
http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic. Basically, they now
block IPs for machines that request their DTDs too often, and recommend to cache the DTD
instead of requesting it every time. Apparently, the JBoss Tools validator is one of the
affected ones.
The solution is simple - please cache the DTDs, given that they're highly unlikely to
EVER change.
Upd: affects M2 version of JBoss Tools as well, not just M1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira