[mapguide-trac] #607: Maestro: DBXML exception on saving layer with
polygon stroke specified
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Jun 13 17:29:15 EDT 2008
#607: Maestro: DBXML exception on saving layer with polygon stroke specified
-----------------------+----------------------------------------------------
Reporter: jbirch | Owner: ksgeograf
Type: defect | Status: new
Priority: medium | Milestone:
Component: Maestro | Version:
Severity: major | Keywords:
External_id: |
-----------------------+----------------------------------------------------
When I try to add a stroke styling to a polygon layer, I get an exception
on saving, indicating that Unit, or Color, or other elements are not valid
for content model.
Noticed that the default LayerDefinition is 1.1.0, but manually changing
header to 1.2.0 doesn't seem to help.
{{{
<?xml version="1.0" encoding="utf-8"?>
<LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="LayerDefinition-1.1.0.xsd" version="1.1.0">
<VectorLayerDefinition>
<ResourceId>Library://Nanaimo/Shared/Data/SDF/Carto/CityFill.FeatureSource</ResourceId>
<FeatureName>Default:CityFill</FeatureName>
<FeatureNameType>FeatureClass</FeatureNameType>
<Filter />
<Geometry>Geometry</Geometry>
<Url />
<ToolTip />
<VectorScaleRange>
<AreaTypeStyle>
<AreaRule>
<LegendLabel />
<AreaSymbolization2D>
<Fill>
<FillPattern>Solid</FillPattern>
<ForegroundColor>ffffffff</ForegroundColor>
<BackgroundColor>ffffffff</BackgroundColor>
</Fill>
<Stroke>
<LineStyle>Solid</LineStyle>
<Color>000000</Color>
<Unit>Millimeters</Unit>
<SizeContext>MappingUnits</SizeContext>
</Stroke>
</AreaSymbolization2D>
</AreaRule>
</AreaTypeStyle>
</VectorScaleRange>
</VectorLayerDefinition>
</LayerDefinition>
}}}
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/607>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list