The difference is that OnlineResource is a URL used to generate images which get put into <IMG> elements (no cross domain issues) and the SLD is an XML document that gets loaded by the browser (same domain issue).
Mike Carlos Fernando Gonçalves wrote: > Hi Luca and Mike. > No work. > The curiosity is that > <OnlineResource xlink:type="simple" xlink:href=" > http://localhost:8080/geoserver/wms"/> > > it work xlink:href with localhost and SLD no work. > > It will be that it is because of the MapBuilder? > Help me. > Best regards, > Carlos FG > > > > 2007/8/2, Mike Adair <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Just out of curiosity, can you try changing "localhost" to > "127.0.0.1 <http://127.0.0.1>" > ? or even just as: "/mapbuilder/myapp/brasil.sld". > I think it's an issue of running through the proxy even when it's > on the > same server. > > Mike > > Luca Giandoso wrote: > >> <SLD> > >> <OnlineResource xlink:type="simple" > >> xlink:href=" > >> http://localhost:8080/mapbuilder/myapp/brasil.sld"; /> > >> </SLD> > >> > > > > It does not work with localhost. > > For example, to make it work I use virtual host. > > > > Luca > > > > > > > > > -- > > Carlos FG ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
