Hi Apostolis,
It's the order of the tags that cause the SLD files to be invalid. Just checked
by moving the CssParameter tags at lines 18 and 19 below the GraphicFill at
line 20 and then that first rule in the SLD does validate.
HTH
Regards,
Edward
> Date: Mon, 13 Aug 2012 16:20:40 -0700
> From: [email protected]
> To: [email protected]
> Subject: [Geoserver-users] Validation SLD errors: help
>
> Hi list
>
> I tried to validate some sld files, which are created by Arc2Earth tool, but
> the style editor of Geoserver appears the following message:
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was
> found starting with element 'GraphicFill'. One of
> '{"http://www.opengis.net/sld":CssParameter}' is expected
>
> Can anyone help me?
> What's wrong with the attached sld file?
>
> Thanks a lot
> Apostolis
>
> http://osgeo-org.1560.n6.nabble.com/file/n4994985/sld.xml sld.xml
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.n6.nabble.com/Validation-SLD-errors-help-tp4994985.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users