I tried an other request and got the same problem.  In Requests.js at 
line 90, that's where it gets its extra "?"

OpenLayers.loadURL(
    "/bdga/getLayersByType.php?mapfile="+szMapfile, '', this, setLayers);

The request becomes :
.../bdga/getLayersByType.php?mapfile=/mypath/bdga.map?

Alexandre

Alexandre Dube wrote:
> Hi devs,
>
>   I noticed a new strange behavior with OpenLayers 2.7-rc1 using 
> WFSDescribeFeatureType format.
>
>   Here's the request I'm using :
>         var sUrl =  olWFSRoads.getFullRequestString({
>             REQUEST: "DescribeFeatureType",
>             SERVICE: "WFS",
>             TYPENAME: "BDGA_ROUTE_L_ARC",
>             VERSION: "1.0.0"
>         });
>         OpenLayers.loadURL(sUrl, '', this, setRoadAttributes);
>
>   Here's the end of the URL in :
>   2.6 : &SRS=EPSG%3A32198&TYPENAME=BDGA_ROUTE_L_ARC
>   2.7 : &SRS=EPSG%3A32198&TYPENAME=BDGA_ROUTE_L_ARC?
>
>   With 2.7, I get the following error : Invalid typename 
> (BDGA_ROUTE_L_ARC?).  There should not be a "?" at the end of the request.
>
>   Then, I realized that "typename" is already at the beginning of the 
> request so I just quoted //TYPENAME: "BDGA_ROUTE_L_ARC", and it worked, 
> but the "?" is still there ( at the end ) but it didn't affect 
> anything.  I don't know if this extra "?" could appear elsewhere ( on 
> other requests )
>
>  Should I open a ticket for this ?
>
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to