[Geoserver-devel] [JIRA] (GEOS-9132) Validation Style for i18N

Thomas Doejen created an issue

GeoServer / BugGEOS-9132

Validation Style for i18N

Issue Type:

BugBug

Affects Versions:

2.11.4

Assignee:

Unassigned

Components:

Validation

Created:

25/Feb/19 10:03 AM

Environment:

<?xml version=“1.0” encoding=“ISO-8859-1”?>
<StyledLayerDescriptor version=“1.0.0”
xsi:schemaLocation=“http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd
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”>
<NamedLayer>
<Name>test</Name>
<UserStyle>
<Title>This is the default title
<Localized lang=“en”>English title</Localized>
<Localized lang=“it”>Titolo in italiano</Localized>
</Title>
<FeatureTypeStyle>
<Rule>
<Title>yellow point</Title>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>square</WellKnownName>
<Fill>
<CssParameter name=“fill”>#ffff00</CssParameter>
</Fill>
</Mark>
<Size>6</Size>
</Graphic>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

Priority:

MediumMedium

Reporter:

Thomas Doejen

Only the Validation of a Style with i18N multi language Title throws an error:

line 14: cvc-type.3.1.2: Element ‘Title’ is a simple type, so it must have no element information item [children]

A layer with assigned style is working.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100098-sha1:fb05c0d)

Atlassian logo