pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10429?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 ) GEOS-10429 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10429?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 ) Style validation error using the VendorOption "graphic-margin" ( 
https://osgeo-org.atlassian.net/browse/GEOS-10429?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.20.2 Assignee: Unassigned Attachments: 
graphic-margin.sld Components: styling Created: 23/Mar/22 8:36 AM Priority: 
Medium Reporter: pietro.dorio ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5fbcdb924a09640069187b05
 )

By using the VendorOption “graphic-margin”, the SLD validation fails

In the attached sld I have simply copied an example from the official 
documentation: 
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/margins.html

The error reported by the validator is as follows:

line 29: cvc-complex-type.2.4.a: Invalid content was found starting with 
element 'VendorOption'. One of '{"http://www.opengis.net/sld":Stroke}' is 
expected.

On the map the rendering seems to behave correctly

( 
https://osgeo-org.atlassian.net/browse/GEOS-10429#add-comment?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10429#add-comment?atlOrigin=eyJpIjoiYTBlMDExYjdmZDcyNDFiMDg5MDFiM2QyZTI5MzEzNTgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100197- 
sha1:25554e9 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to