Validation Style for i18N

Description

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.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 <?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>{color} <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>

Environment

None

Status

Assignee

Fernando Miño

Reporter

Thomas Doejen

Triage

Fix versions

Affects versions

2.11.4

Components

Priority

Medium
Configure