WMS 1.1 Capabilities document does not match DTD - missing Title in style

Description

During CITE testing on WMS 1.1, I hit a failure that looks like:

Test wms:wmsops-getcapabilities-response-2 type Mandatory default result Passed (s0003/d1e1036_1)

Assertion: The response to a GetCapabilities request references a valid copy of the DTD in Annex A.1 at a fully-qualified and accessible location and validates with the DTD.
{{
Request d1e3959_1:
Method: get
URL: http://localhost:8080/geoserver/wms?SERVICE=WMS&&ReQuEsT=GetCapabilities&SeRvIcE=WMS&VeRsIoN=1.1.1
Response from parser parsers:XMLValidatingParser:

Messages from parser parsers:XMLValidatingParser:
Validation error at line 6493, column 17:
The content of element type "Style" must match "(Name,Title,Abstract?,LegendURL*,StyleSheetURL?,StyleURL?)".
Validation error at line 6787, column 17:
The content of element type "Style" must match "(Name,Title,Abstract?,LegendURL*,StyleSheetURL?,StyleURL?)".
2 validation errors detected.}}

The problem appears to be styles that do not have Title elements:

and

The options would appear to be to require Title in all the SLD, or to create a title if we don't have one. I think the second seems better, unless the SLD spec requires titles.

Environment

None

Status

Assignee

Brad Hards

Reporter

Brad Hards

Triage

None

Fix versions

Affects versions

2.9-M0

Components

Priority

Medium
Configure