Re: [Qgis-developer] SLD export not compliant due to unit attribute in the root element

2016-07-25 Thread Andrea Aime
On Mon, Jul 25, 2016 at 10:04 AM, René-Luc Dhont wrote: > Hi Andrea, > > I'm the author of the commits that add a 'units' attribute to > StyleLayerDescriptor element. > > https://github.com/qgis/QGIS/commit/b54b1598a6ba145a51aa266cde9282ae4d0378ad > >

Re: [Qgis-developer] SLD export not compliant due to unit attribute in the root element

2016-07-25 Thread René-Luc Dhont
Hi Andrea, I'm the author of the commits that add a 'units' attribute to StyleLayerDescriptor element. https://github.com/qgis/QGIS/commit/b54b1598a6ba145a51aa266cde9282ae4d0378ad https://github.com/qgis/QGIS/commit/f7ce8b94344e7a7dd12fac2a90bd84df30b7e82f If you look at the code of these 2

Re: [Qgis-developer] SLD export not compliant due to unit attribute in the root element

2016-07-25 Thread Andrea Aime
On Mon, Jul 25, 2016 at 9:12 AM, Alessandro Pasotti wrote: > Hi, > > I noticed the same 'uom' mm problem when I tested the SLD converting > routines used by GeoServer Explorer plugin a couple of months ago, thank > for bringing up this issue. > > Your proposed solution makes

Re: [Qgis-developer] SLD export not compliant due to unit attribute in the root element

2016-07-25 Thread Alessandro Pasotti
On Sat, Jul 23, 2016 at 2:53 PM, Andrea Aime wrote: > Hi, > I'm looking into improving the SLD export, and stumbled into a schema > violation > that, if fixed, may cause other regression. > In particular, the root element StyledLayerDescriptor contains a "units" >

[Qgis-developer] SLD export not compliant due to unit attribute in the root element

2016-07-23 Thread Andrea Aime
Hi, I'm looking into improving the SLD export, and stumbled into a schema violation that, if fixed, may cause other regression. In particular, the root element StyledLayerDescriptor contains a "units" attribute that is not part of the SLD/SE specification, and thus makes validation fail: