<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Ok I am sorry it was just a problem of copy/paste... I wouldn't have had any answer with that request...<br><br>namespace:'xmlns(topp=http://www.openplans.org/topp)',<br><br>is my real javascript, as I said I have an answer (with the correct features inside) but cannot managed to have any display on the map. I have tried without style and nothing changed.<br><br>Regards,<br>Sylvie<br><br>> Date: Fri, 4 Dec 2009 07:25:06 -0500<br>> To: kiki__fiat@hotmail.com<br>> CC: users@openlayers.org<br>> Subject: Re: [OpenLayers-Users] Problem with namespace param in vector        strategy<br>> From: crschmidt@metacarta.com<br>> <br>> On Fri, Dec 04, 2009 at 07:17:41AM +0000, sylvie fiat wrote:<br>> > <br>> > Hi,<br>> > <br>> > I am having an issue configuring my Vector strategy, I use:<br>> > <br>> > function getVectorLayerWithBounds(bounds) {<br>> > var filter = getBBOXFilter(bounds);<br>> > return new OpenLayers.Layer.Vector(layerName, {<br>> > strategies : [ <br>> > new OpenLayers.Strategy.Fixed() <br>> > ],<br>> > protocol :new OpenLayers.Protocol.HTTP( {<br>> > url :geoserverUrlWfs,<br>> > params : {<br>> > format :SERVICE_WFS,<br>> > service :SERVICE_WFS,<br>> > request :REQUEST_WFS,<br>> > srs :defaultProjection,<br>> > VERSION :VERSION,<br>> > typename :Layer,<br>> > namespace=xmlns(topp=http://www.openplans.org/topp)<br>> <br>> ^^ This is not valid Javascript.<br>> <br>> -- Chris<br>> <br>> > filter: filter<br>> > },<br>> > format :new OpenLayers.Format.GML()<br>> > })<br>> > });<br>> > }<br>> > <br>> > If I add the namespace parameters my Layer won't be displayed, I still have the WFS flux but no feature is displayed on the map.<br>> > If I don't add namespace everything is ok.<br>> > <br>> > I need the namespace parameter in order to use deegree owsproxy.<br>> > <br>> > Do you know what could be the problem ? I only got warnings<br>> > <br>> > 4 déc. 2009 18:14:41 org.apache.tomcat.util.http.Parameters processParameters<br>> > ATTENTION: Parameters: Invalid chunk ignored.<br>> > 04 déc. 18:14:42 WARN [geotools.xml] - org.geoserver.security.decorators.ReadOnlyFeatureCollection@1997837 (org.geoserver.security.decorators.ReadOnlyFeatureCollection) is not of type [Lorg.opengis.feature.simple.SimpleFeature;<br>> > <br>> > But I read it was not an important warning ?<br>> > Best regards<br>> > Sylvie<br>> > <br>> >                                            <br>> > _________________________________________________________________<br>> > Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows phone<br>> > http://clk.atdmt.com/FRM/go/175819071/direct/01/<br>> > _______________________________________________<br>> > Users mailing list<br>> > Users@openlayers.org<br>> > http://openlayers.org/mailman/listinfo/users<br>> <br>> <br>> -- <br>> Christopher Schmidt<br>> MetaCarta<br>                                            <br /><hr />PC, téléphones portables, souris hi-tech. à gagner grâce à Hotmail ! <a href='http://www.hotmailmagicmoment.com' target='_new'>C'est ici !</a></body>
</html>