[Geoserver-devel] [JIRA] (GEOS-8067) WMS Style Title can be missing in GetCapabilities, but is required

Bart van den Eijnden created an issue

GeoServer / BugGEOS-8067

WMS Style Title can be missing in GetCapabilities, but is required

Issue Type:

BugBug

Affects Versions:

2.10.1

Assignee:

Unassigned

Created:

03/Apr/17 6:43 PM

Priority:

MediumMedium

Reporter:

Bart van den Eijnden

So if someone has a style (SLD) without a Title, style validation will pass. However, the resulting GetCapabilities will be invalid

SystemID: /home/bartvde/Untitled2.xml
Main validation file: /home/bartvde/Untitled2.xml
Engine name: Xerces
Severity: error
Description: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘LegendURL’. One of ’

{“http://www.opengis.net/wms”:Title}

’ is expected.
Start location: 476:22
End location: 476:31
URL: http://www.w3.org/TR/xmlschema-1/#cvc-complex-type

<Style>
<Name>rain</Name>
<LegendURL width=“27” height=“121”>

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.870.3#100039-sha1:b0a21de)

Atlassian logo