[mapserver-users] Possible Error

aimdev aimdev at mail.com
Mon Mar 13 06:57:12 PDT 2017


The documentation for V7.0.4 states

OUTLINEWIDTH [double|attribute]
Width in pixels for the outline. Default is 0.0. The thickness of the outline will not depend on the scale.

New in version 5.4.


within a Style configuration, however 

  <Style>
                <angle>45</angle>
                <color red="242" green="155" blue="5" />
                <outlineColor red="51" green="51" blue="51"  />
                <outlineWidth>2</outlineWidth>
                <size>10</size>
                <symbol>'hatch-test'</symbol>
                <width>3</width>
            </Style>

fails validation with the following error

Referenced entity at "file:mapfile.xsd".
cvc-complex-type.2.4.a: Invalid content was found starting with element 'outlineWidth'. One of '{"http://www.mapserver.org/mapserver":pattern, "http://www.mapserver.org/mapserver":polarOffset, "http://www.mapserver.org/mapserver":size, "http://www.mapserver.org/mapserver":symbol, "http://www.mapserver.org/mapserver":width}' is expected. [213] 
XML validation finished.

I cannot see a reference in the xsd to cover this type.

Any tips would be gratefully received

Aimee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20170313/9b488179/attachment.html>


More information about the mapserver-users mailing list