title: OpenLayers loading a GML file from an other site
body: <p>I'm having difficulties loading a GML file into OpenLayers. I've stripped down the problem to the following :
  - copy/past the example at : <a href="http://openlayers.org/dev/examples/behavior-fixed-http-gml.html" rel="nofollow">http://openlayers.org/dev/examples/behavior-fixed-http-gml.html</a>
  - replace all links to absolute</p>
  
  <p>This results in the following file/code that I run from localhost (file:///) :</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
      &lt;meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /&gt;
      &lt;meta name="apple-mobile-web-app-capable" content="yes" /&gt;
          &lt;title&gt;OpenLayers Vector Behavior Example&lt;/title&gt;
          &lt;link rel="stylesheet" href="http://openlayers.org/dev/theme/default/style.css" type="text/css" /&gt;
          &lt;link rel="stylesheet" href="http://openlayers.org/dev/examples/style.css" type="text/css" /&gt;
          &lt;script src="http://openlayers.org/dev/OpenLayers.js"&gt;&lt;/script&gt;
  
          &lt;script type="text/javascript"&gt;
              var map;
  
              function init(){
                  map = new OpenLayers.Map('map');
                  var wms = new OpenLayers.Layer.WMS(
                      "OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0",
                      {layers: 'basic'}
                  );
  
                  var layer = new OpenLayers.Layer.Vector("GML", {
                      strategies: [new OpenLayers.Strategy.Fixed()],
                      protocol: new OpenLayers.Protocol.HTTP({
                          url: "http://openlayers.org/dev/examples/gml/polygon.xml",
                          format: new OpenLayers.Format.GML()
                      })
                  });
  
                  map.addLayers([wms, layer]);
                  map.zoomToExtent(new OpenLayers.Bounds(
                      -3.92, 44.34, 4.87, 49.55
                  ));
              }
          &lt;/script&gt;
      &lt;/head&gt;
      &lt;body onload="init()"&gt;
          &lt;h1 id="title"&gt;Vector Behavior Example (Fixed/HTTP/GML)&lt;/h1&gt;
          &lt;div id="tags"&gt;
              vector, strategy, strategies, protocoll, advanced, gml, http, fixed
          &lt;/div&gt;
          &lt;p id="shortdesc"&gt;
  
              Vector layer with a Fixed strategy, HTTP protocol, and GML format.
          &lt;/p&gt;
          &lt;div id="map" class="smallmap"&gt;&lt;/div&gt;
          &lt;div id="docs"&gt;
              The vector layer shown uses the Fixed strategy, the HTTP protocol,
              and the GML format.
              The Fixed strategy is a simple strategy that fetches features once
              and never re-requests new data.
              The HTTP protocol makes requests using HTTP verbs.  It should be
              constructed with a url that corresponds to a collection of features
              (a resource on some server).
              The GML format is used to serialize features.
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The problem is that the GML is not displayed (everything else works great). I have no errors in the console but status 200 OK for the request (both in FF console and FireBug Network tab).
  What I am missing? Same origin policy failure should show up some error, no?</p>