Re: [Geoserver-users] Update style though REST api

2013-10-17 Thread Eric Smets
Hello, This seems to an issue to the following element in the version 1.0.0 the parameter is calles CSSParameter, in the version 1.1.0 the same parameter should be called SVGParameter. Could it be that the rest API just checks against the 1.0.0 version and that the Web interface supports cor

Re: [Geoserver-users] Update style though REST api

2013-10-17 Thread Serge de Schaetzen
Ian, this is even more confusing. It does indeed work through the REST api when I change the SvgParameter lines to CssParameter. But when I upload the file with SvgParameters from within the GeoServer, it is accepted, and I can see all SvgParameter lines in the style editor. Is there a reaso

Re: [Geoserver-users] Update style though REST api

2013-10-17 Thread Ian Turton
It is removing the non conformant bits when it processes the style. All the SvgParameter should be CSSParameter. Ian On 17 October 2013 12:24, Serge de Schaetzen wrote: > Hello, > > I have a weird problem when uploading an SLD file to geoserver 2.4.0 > using the RESP api. > > The style gets

[Geoserver-users] Update style though REST api

2013-10-17 Thread Serge de Schaetzen
Hello, I have a weird problem when uploading an SLD file to geoserver 2.4.0 using the RESP api. The style gets uploaded successfully (http 200 is returned), and I can see it in the list of styles in the geoserver admin gui. But, parts of the style have been removed. I've embedded the style I u