Style Editor Preview Legend assume SLD

Description

Steve Ikeoka reported to user list:

Using the Preview Legend feature on YSLD styles causes an XML parsing error
"Content is not allowed in prolog" since
org.geoserver.wms.web.data.StyleAdminPanel currently only handles SLD
styles:

Also, if a proxy base URL is set that is missing a slash at the end (e.g.,
"http://geoserver.org/geoserver" instead of
"http://geoserver.org/geoserver/"), then the Preview Legend would fail for
external legend images because it would build a URL like
"http://geoserver.org/geoserverstyles" instead of
"http://geoserver.org/geoserver/styles".

Environment

None

Assignee

Alex Goudine

Reporter

Jody Garnett

Triage

None

Components

Priority

Medium
Configure