<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br>Hi,<br><br>No one ever encountered the problem described below ?<br><br>Thanks<br><br><hr id="stopSpelling">From: kwonghu@hotmail.com<br>To: users@openlayers.org<br>Date: Sun, 19 Apr 2009 13:49:33 +0800<br>Subject: [OpenLayers-Users] GetCapabilities proxy problem.<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


<br><div>Hi,<br><br>I have this in the header of the xml file which I stream<br>to the browser whenever there is getcapabilities request.<br><pre id="EC_line1"><span class="EC_pi">=============<br>&lt;?xml version='1.0' encoding="UTF-8" standalone="no" ?&gt;</span><br><span class="comment">&lt;!-- The DTD (Document Type Definition) given here must correspond to the version number declared in the WMT_MS_Capabilities element below. --&gt;</span><br><span class="EC_error"><span class="EC_doctype">&lt;!DOCTYPE WMT_MS_Capabilities SYSTEM<br> "http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd"<br> [<br> </span></span><span class="comment">&lt;!-- Vendor-specific elements are defined here if needed. --&gt;</span><br> <span class="comment">&lt;!-- If not needed, just leave this EMPTY declaration.  Do not<br>  delete the declaration entirely. --&gt;</span><br> <span class="EC_markupdeclaration">&lt;!ELEMENT VendorSpecificCapabilities EMPTY&gt;</span><br> ]&gt;  <span class="comment">&lt;!-- end of DOCTYPE declaration --&gt;</span><br>=============</pre>The company I am with are behind a proxy that <br>requires a username and password to access the internet.<br><br>What happens is that the browser and visual studio 2008 complain <br>that the remote server requires a proxy authentication to access <br>the DTD specified in the xml header.<br><br>"<span class="EC_error"><span class="EC_doctype">http://www.digitalearth.gov/wmt/xml/capabilities_1_1_1.dtd</span></span>
"<br><br>At the moment I have removed the link above and it seems to work fine.<br>How should i fix it ?<br><br>Cheers.<br></div><br><br></body>
</html>