[Geoserver-devel] [JIRA] (GEOS-8193) Priority tag not validating

Phil Scadden created an issue

GeoServer / BugGEOS-8193

Priority tag not validating

Issue Type:

BugBug

Affects Versions:

2.11.0

Assignee:

Unassigned

Created:

21/Jun/17 11:20 PM

Environment:

Windows and Linux

Priority:

MediumMedium

Reporter:

Phil Scadden

Adding the priority tag resulted in validation of:
line 63: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘PropertyName’. One of ’

{“http://www.opengis.net/ogc”:expression}

’ is expected.

SLD that causes the problem is:
<Rule>
<MaxScaleDenominator>250000</MaxScaleDenominator>
<TextSymbolizer><Label><ogc:PropertyName>name</ogc:PropertyName></Label><Font><CssParameter
name=“font-family”>Arial</CssParameter><CssParameter
name=“font-size”>11</CssParameter></Font><LabelPlacement><PointPlacement><AnchorPoint><AnchorPointX>0</AnchorPointX><AnchorPointY>0</AnchorPointY></AnchorPoint><Displacement><DisplacementX>0</DisplacementX><DisplacementY>10</DisplacementY></Displacement></PointPlacement></LabelPlacement><Fill><CssParameter
name=“fill”>#000000</CssParameter></Fill>
<Priority><PropertyName>year</PropertyName></Priority>
</TextSymbolizer>
</Rule>

If I remove PropertyName from Priority it validates (but not much use).

My SLD header is:
<StyledLayerDescriptor xmlns=“http://www.opengis.net/sld” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation=“http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
version=“1.0.0”>

I looked for Priority in teh xsd but didnt find it.

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app here.


This message was sent by Atlassian JIRA (v1000.1075.0#100051-sha1:de66d4e)

Atlassian logo