#616 closed defect (fixed)
Incorrect XML definition
Reported by: | jnel | Owned by: | ksgeograf |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Maestro | Version: | 2.0.1 |
Severity: | minor | Keywords: | Parameteroverrides XML Structure |
Cc: | External ID: |
Description
When i create a compound symboldefinition in Maestro, the XML provided in the Autodesk document (building_symbol_libraries_with_autodesk_mapguide_enterprise_2009.pdf) for the hospital symbol is: <?xml version="1.0" encoding="UTF-8"?> <SimpleSymbolDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SymbolDefinition-1.0.0.xsd" version="1.0.0"> <Name>Hospital</Name> <Description>International Hospital Symbol</Description> <Graphics> <Path> <Geometry>M -2.5,2.5 H 2.5 V -2.5 H -2.5 Z</Geometry> <FillColor>FF0000FF</FillColor> <LineColor>FFFFFFFF</LineColor> <LineWeight>0.75</LineWeight> <LineWeightScalable>false</LineWeightScalable> </Path> <Path> <Geometry>M -1.0,1.25 V -1.25 Z M 1.0,1.25 V -1.25 Z M -1.0,0.0 H 1.0 Z</Geometry> <LineColor>FFFFFFFF</LineColor> <LineWeight>0.75</LineWeight> <LineWeightScalable>false</LineWeightScalable> </Path> </Graphics> <PointUsage/> <ParameterDefinition/> </SimpleSymbolDefinition>
On the second last line the parameterdefinition structure is incorrect.
When i generate the layerdefinition in Maestro I provide it the following
<ResourceId>Library://sys/Symbols/Road.SymbolDefinition</ResourceId> <ParameterOverrides> </ParameterOverrides>
I Validate and save this definition, without error.
When I look at the xml again It is:
<LegendLabel /> <CompositeSymbolization>
<ResourceId>Library://sys/Symbols/Road.SymbolDefinition</ResourceId>
I Believe the ParameterOverrides is illegal xml structure
This is not a bug. The Structure is correct according to Layerdefinition-1.1.0.xsd
Apparantly it is valid XML
Apologies for a false alarm