[Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Gis Mage
Hi list! I've got an error: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'LabelPlacement'. One of '{" http://www.opengis.net/sld":Graphic, "http://www.opengis.net/sld":Priority, "http://www.opengis.net/sld":VendorOption}' is expected. whe

Re: [Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Andrea Aime
On Wed, Jun 29, 2011 at 11:58 AM, Gis Mage wrote: > Hi list! > > I've got an error: > > org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was > found starting with element 'LabelPlacement'. One of > '{"http://www.opengis.net/sld":Graphic, > "http://www.opengis.net/sld":Priorit

Re: [Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Gis Mage
Hi Andrea, Changed the tag order. Still no luck - same error. Any clues? SLD is now: cities labels city labels adm_sts 0

Re: [Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Gis Mage
Ah, got that! Should be put before Halo tag. Can someone give me a link to a schema itself? Thnx 2011/6/29 Gis Mage > Hi Andrea, > > Changed the tag order. > Still no luck - same error. > Any clues? > > SLD is now: > > > > xmlns:gml='http://www.opengis.net/

Re: [Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Edward Mac Gillavry
http://www.opengeospatial.org/standards/sld Date: Wed, 29 Jun 2011 14:48:33 +0400 From: gism...@gmail.com To: andrea.a...@geo-solutions.it CC: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] SLD validation fails on GS 2.1.1 Ah, got that! Should be put before Halo tag

Re: [Geoserver-users] SLD validation fails on GS 2.1.1

2011-06-29 Thread Andrea Aime
On Wed, Jun 29, 2011 at 1:12 PM, Edward Mac Gillavry wrote: > http://www.opengeospatial.org/standards/sld This is the official standard, which does not include the GeoServer specific extensions. Every GeoServer ships with the augmented schema including the extensions, for example: http://demo.ge