Hi,
Please see attached emails to W3 web-master. Basically we are unable to get
to
http://www.w3.org/2001/datatypes.dtd with a java agent (browsers work
fine). Because of this none of our code no longer compiles on any
machine/platform/java version....
How can we work around this (we are struggling to make catalogs work)?
Anyone any idea why the change in access to W3? Is this not affecting
everyone globally?
Cheers,
Matt.
Hi Geralk,
This is a bit of a long shot really. Has anything changed server side (are
you the right person to talk to?) that would prevent wsimport (java tool for
generating stubs from wsdl) accessing the above web-page?
Multiple machines, OS's and Java versions are failing source code builds
that have had no listed changes. Browsing to the URI works just fine.
Here's the error I see.
[wsimport] [ERROR] Unable to parse "./xmldsig-core-schema.xsd" : Server
returned HTTP response code: 403 for URL:
http://www.w3.org/2001/datatypes.dtd
We are at a bit of loss our side.
Thanks,
Hi Gerald,
Packet sniffing shows that some files are retrieved just fine but others are
not. Please see attached files. Any idea why java as an agent is now
blocked? It's causing us some issues!
Thanks,
Matt.
GET /2001/datatypes.dtd HTTP/1.1
User-Agent: Java/1.6.0_0
Host: www.w3.org
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
HTTP/1.1 403 Forbidden
Date: Thu, 11 Jun 2009 14:35:41 GMT
Server: Apache/2
Last-Modified: Mon, 29 Oct 2007 16:57:51 GMT
ETag: "615-43da499cb21c0"
Accept-Ranges: bytes
Content-Length: 1557
P3P: policyref="
http://www.w3.org/2001/05/P3P/p3p.xml"
Connection: close
Content-Type: text/html; charset=iso-8859-1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" lang="en">
<head>
<title>Error 403</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="
http://www.w3.org/StyleSheets/base" />
<link rel="stylesheet" href="
http://www.w3.org/Help/error-style" />
</head>
<body>
<h1><a href="
http://www.w3.org/"><img
src="
http://www.w3.org/Icons/WWW/w3c_home" alt="W3C" width="72" /></a> Sorry,
Insufficient Access Privileges</h1>
<hr />
<p>You do not have sufficient privileges to access the page that
you requested. Some possible reasons:</p>
<ol>
<li>The level of access required for this page is inconsistent
with <a href="
http://www.w3.org/Systems/db/memUser#affil">your account.</a></li>
<li>There is not yet an access level assigned to this page.
If you have been granted rights to
do so, you can try to set or change the access level for
this resource using the <strong>,access</strong> tool.</li>
</ol>
<p>If you still have a question, please consult the
<a href="
http://www.w3.org/Help/Webmaster">Webmaster FAQ</a> or to
find the information you are looking for please
start on the <a href="
http://www.w3.org/">W3C Home
page</a> or the <a href="
http://search.w3.org/">W3C search page</a>.</p>
<hr />
<address>
<a href="
http://www.w3.org/Help/Webmaster">Webmaster</a>
$Id: Error-403.html,v 1.28 2007/10/29 16:57:51 ted Exp $
</address>
</body>
</html>
**************
GET /2001/XMLSchema.dtd HTTP/1.1
User-Agent: Java/1.6.0_0
Host: www.w3.org
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
HTTP/1.1 200 OK
Date: Thu, 11 Jun 2009 14:35:41 GMT
Server: Apache/2
Last-Modified: Thu, 25 Oct 2001 10:37:11 GMT
ETag: "3ecb-391236ac043c0"
Accept-Ranges: bytes
Content-Length: 16075
Cache-Control: max-age=7776000
Expires: Wed, 09 Sep 2009 14:35:41 GMT
P3P: policyref="
http://www.w3.org/2001/05/P3P/p3p.xml"
Connection: close
Content-Type: text/plain
<!-- DTD for XML Schemas: Part 1: Structures
Public Identifier: "-//W3C//DTD XMLSCHEMA 200102//EN"
Official Location:
http://www.w3.org/2001/XMLSchema.dtd -->
<!-- $Id: XMLSchema.dtd,v 1.31 2001/10/24 15:50:16 ht Exp $ -->
<!-- Note this DTD is NOT normative, or even definitive. --> <!--d-->
<!-- prose copy in the structures REC is the definitive version --> <!--d-->
<!-- (which shouldn't differ from this one except for this --> <!--d-->
<!-- comment and entity expansions, but just in case) --> <!--d-->
<!-- With the exception of cases with multiple namespace
prefixes for the XML Schema namespace, any XML document which is
not valid per this DTD given redefinitions in its internal subset of the
'p' and 's' parameter entities below appropriate to its namespace
declaration of the XML Schema namespace is almost certainly not
a valid schema. -->
<!-- The simpleType element and its constituent parts
are defined in XML Schema: Part 2: Datatypes -->
<!ENTITY % xs-datatypes PUBLIC 'datatypes' 'datatypes.dtd' >
<!ENTITY % p 'xs:'> <!-- can be overriden in the internal subset of a
schema document to establish a different
namespace prefix -->
<!ENTITY % s ':xs'> <!-- if %p is defined (e.g. as foo:) then you must
also define %s as the suffix for the appropriate
namespace declaration (e.g. :foo) -->
<!ENTITY % nds 'xmlns%s;'>