An user reported a validation issue using the windbarb style which uses a dynamic symbolizer computing a property value through an OGC function, to be put into a mark element.
... <Mark> <WellKnownName>windbarbs://default( <ogc:Function name="sqrt"> <ogc:Add> <ogc:Mul> <ogc:PropertyName>u</ogc:PropertyName> <ogc:PropertyName>u</ogc:PropertyName> </ogc:Mul> <ogc:Mul> <ogc:PropertyName>v</ogc:PropertyName> <ogc:PropertyName>v</ogc:PropertyName> </ogc:Mul> </ogc:Add> </ogc:Function>)[m/s]?emisphere= <ogc:PropertyName>emisphere</ogc:PropertyName> </WellKnownName> ...
The style works properly but the Styles GUI validator complains against it with this message (Trying to translate it from Italian localized message):
cvc-complex-type.2.4.d: invalid content that begins with the element "ogc: PropertyName". No child elements expected at this point.
For reference, the full style is available at this page: http://geoserver.geo-solutions.it/multidim/en/accessing_multidim/rtx/wind_barbs.html#style-description
|